/* Estilos para el Área de Clientes */

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-header {
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.login-header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 600;
}

.login-header p {
    color: #666;
    font-size: 16px;
}

.login-form {
    text-align: left;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
    border: 1px solid #fcc;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-footer a {
    color: #3b82f6;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Client Area Styles */
.client-area {
    min-height: 100vh;
    background: #f8f9fa;
}

.client-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width: 150px;
    height: auto;
}

.client-info h1 {
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.client-info p {
    color: #e5e7eb;
    margin: 5px 0 0 0;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.logout-btn:hover {
    background: #c82333;
}

.downloads-content {
    padding: 40px 0;
}

.welcome-section {
    text-align: center;
    margin-bottom: 50px;
}

.welcome-section h2 {
    color: #333;
    font-size: 32px;
    margin-bottom: 15px;
}

.welcome-section p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.downloads-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.download-category {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.download-category h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-items {
    display: grid;
    gap: 15px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-info h4 {
    color: #333;
    margin: 0 0 5px 0;
    font-size: 18px;
}

.item-info p {
    color: #666;
    margin: 0 0 5px 0;
    font-size: 14px;
}

.file-size, .file-type {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.download-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.instructions-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.instructions-section h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.instruction-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.instruction-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.instruction-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.support-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.support-section h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.support-section p {
    color: #666;
    margin-bottom: 20px;
}

.support-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid #3b82f6;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.support-link:hover {
    background: #3b82f6;
    color: white;
    text-decoration: none;
}

/* Icons (using simple CSS shapes) */
.icon-download::before {
    content: "⬇";
    margin-right: 5px;
}

.icon-user::before {
    content: "👤";
    margin-right: 5px;
}

.icon-server::before {
    content: "🖥";
    margin-right: 5px;
}

.icon-lock::before {
    content: "🔒";
    margin-right: 8px;
}

.icon-support::before {
    content: "🛠";
    margin-right: 8px;
}

.icon-server::before {
    content: "🖥";
    margin-right: 8px;
}

.icon-email::before {
    content: "✉";
    margin-right: 5px;
}

.icon-phone::before {
    content: "📞";
    margin-right: 5px;
}

.icon-whatsapp::before {
    content: "💬";
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .download-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .instructions-grid {
        grid-template-columns: 1fr;
    }
    
    .support-contacts {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .downloads-content {
        padding: 20px 0;
    }
    
    .download-category {
        padding: 20px 15px;
    }
    
    .welcome-section h2 {
        font-size: 24px;
    }
    
    .welcome-section p {
        font-size: 16px;
    }
}