/**
 * ============================================================================
 * WDSB Download Frontend CSS
 * ============================================================================
 * Version: 2025.12.07.120000
 * Autor: Willi da Silva Borges - WDSB Webdesign
 * ============================================================================
 */

/* Container - Login-Bereich */
.user-upload-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
}

.user-upload-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 40px;
}

.user-upload-header {
  text-align: center;
  margin-bottom: 30px;
}

.user-upload-header h1 {
  font-size: 32px;
  margin: 0 0 20px 0;
  color: #000 !important;
  font-weight: bold;
}

.user-upload-header p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

/* Info-Text für Login-Hinweis */
.user-upload-info {
  background: #e0f2f7;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0 30px 0;
  text-align: left;
}

.user-upload-info p {
  color: #000 !important;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.user-upload-info a {
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.user-upload-info a:hover {
  color: #003d82;
  text-decoration: underline;
}

/* Formular */
.user-upload-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(to bottom, #4dd0e1, #00acc1);
  color: white;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #00acc1, #0097a7);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Messages */
.upload-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.upload-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.upload-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.wdsb-user-download-message-hidden {
  display: none;
}

/* Datei-Liste */
.wdsb-download-header {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.wdsb-download-header h1 {
  margin: 0 0 0.5rem;
}

.wdsb-download-header p {
  margin: 0;
  color: #666666;
}

.wdsb-download-files-table {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.wdsb-download-files-table thead {
  background: #0066cc;
  color: #ffffff;
}

.wdsb-download-files-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.wdsb-download-files-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.wdsb-download-files-table tbody tr:hover {
  background: #f8f9fa;
}

/* Download-Button */
.wdsb-download-files-table .button--primary {
  padding: 0.5rem 1.5rem;
  background: #28a745;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}

.wdsb-download-files-table .button--primary:hover {
  background: #218838;
}

/* Responsive */
@media (max-width: 768px) {
  .user-upload-container {
    margin: 20px auto;
    padding: 10px;
  }
  
  .user-upload-card {
    padding: 20px;
  }
  
  .user-upload-header h1 {
    font-size: 24px;
  }
  
  .wdsb-download-files-table {
    font-size: 0.875rem;
  }
  
  .wdsb-download-files-table th,
  .wdsb-download-files-table td {
    padding: 0.75rem 0.5rem;
  }
}


