/* Clinic System Authentication Styles */
.clinic-auth-container {
    max-width: 450px;
    margin: 60px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.clinic-auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #00D2C6 0%, #009E96 100%);
}

.clinic-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.clinic-auth-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.clinic-auth-header p {
    color: #777;
    font-size: 14px;
}

.clinic-auth-form .form-group {
    margin-bottom: 20px;
}

.clinic-auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
    font-size: 14px;
}

.clinic-auth-form input[type="text"],
.clinic-auth-form input[type="email"],
.clinic-auth-form input[type="password"],
.clinic-auth-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fcfcfc;
    box-sizing: border-box;
}

.clinic-auth-form input:focus,
.clinic-auth-form select:focus {
    border-color: #00D2C6;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 210, 198, 0.1);
}

.clinic-auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00D2C6 0%, #009E96 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.clinic-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 198, 0.3);
}

.clinic-auth-btn:active {
    transform: translateY(0);
}

.clinic-auth-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.clinic-auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.clinic-auth-footer a {
    color: #009E96;
    text-decoration: none;
    font-weight: 600;
}

.clinic-auth-footer a:hover {
    text-decoration: underline;
}

.clinic-auth-message {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.clinic-auth-message.success {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.clinic-auth-message.error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.clinic-auth-message.info {
    display: block;
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

/* Radio styling for roles */
.clinic-role-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.clinic-role-option {
    flex: 1;
    position: relative;
}

.clinic-role-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.clinic-role-label {
    display: block;
    padding: 10px;
    text-align: center;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: #f9f9f9;
    font-weight: 600;
}

.clinic-role-option input:checked+.clinic-role-label {
    border-color: #00D2C6;
    background: rgba(0, 210, 198, 0.05);
    color: #009E96;
}

/* Responsive */
@media (max-width: 480px) {
    .clinic-auth-container {
        margin: 20px;
        padding: 20px;
    }
}