/* Client Area Login Styles */

.client-area-login-form {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 500px;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.login-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.form-login {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #667eea;
    color: white;
}

.btn-primary:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-block {
    width: 100%;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
}

.login-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    font-size: 14px;
}

.login-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.login-footer a:hover {
    text-decoration: underline;
}

.client-already-logged-in,
.client-not-logged-in {
    text-align: center;
    padding: 20px;
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 5px;
    color: #004085;
}

/* Dashboard Styles */

.client-dashboard {
    padding: 30px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #667eea;
}

.dashboard-header h2 {
    margin: 0;
    color: #333;
    font-size: 28px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.dashboard-section h3 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item label {
    font-weight: 600;
    color: #667eea;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    margin: 5px 0 0 0;
    color: #555;
    font-size: 14px;
    padding-left: 10px;
    border-left: 3px solid #667eea;
}

.messages-box,
.support-box {
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.messages-box p,
.support-box p {
    margin: 0 0 10px 0;
    color: #555;
}

.support-box ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.support-box li {
    color: #555;
    margin-bottom: 8px;
}

.client-logout-btn {
    cursor: pointer;
}

/* Responsive */

@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .dashboard-header h2 {
        font-size: 24px;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }
}
