/* Agent Login Registration Styles */

.alr-wrapper {
    max-width: 700px !important;
    width: 100%;
    margin: 50px auto;
    text-align: center;
}

.alr-logo {
    margin-bottom: 30px;
}

.alr-logo img {
    max-width: 250px;
    height: auto;
    display: inline-block;
}

.alr-container {
    width: 100%;
    max-width: 700px !important;
    padding: 40px 50px;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    box-sizing: border-box;
}

.alr-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.alr-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.alr-field {
    margin-bottom: 20px;
}

.alr-field.alr-half {
    flex: 1;
    margin-bottom: 0;
}

.alr-field label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.alr-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.alr-field input:focus {
    outline: none;
    border-color: #333;
}

.alr-field input.error {
    border-color: #f44336;
}

.alr-submit {
    width: 100%;
    padding: 14px 20px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.alr-submit:hover {
    background-color: #333;
}

.alr-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.alr-message {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 4px;
    text-align: center;
}

.alr-message:empty {
    display: none;
}

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

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

.alr-links {
    text-align: center;
    margin-top: 25px;
}

.alr-links p {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.alr-links a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.alr-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .alr-wrapper {
        margin: 20px;
    }
    
    .alr-container {
        padding: 30px 20px;
    }
    
    .alr-form h2 {
        font-size: 24px;
    }
    
    .alr-logo img {
        max-width: 200px;
    }
    
    /* Stack fields on mobile */
    .alr-row {
        flex-direction: column;
        gap: 0;
    }
    
    .alr-field.alr-half {
        margin-bottom: 20px;
    }
}

/* Loading state */
.alr-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Profile Page - Minimalistic Design */
.alr-profile-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.alr-profile-header {
    text-align: center;
    margin-bottom: 50px;
}

.alr-profile-header h1 {
    font-size: 24px;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.alr-role-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

.alr-profile-section {
    background: #fff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.alr-section-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.alr-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.alr-profile-field {
    position: relative;
}

.alr-profile-field.alr-full-width {
    grid-column: 1 / -1;
}

.alr-profile-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-top: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alr-profile-field input[type="text"],
.alr-profile-field input[type="email"],
.alr-profile-field input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.alr-profile-field input[readonly] {
    background-color: #f8f8f8;
    color: #666;
    cursor: not-allowed;
}

.alr-profile-field input[type="password"] {
    background-color: #fff;
}

.alr-profile-field input[type="password"]:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.alr-profile-field small {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.alr-password-form {
    margin-top: 10px;
}

.alr-profile-submit {
    margin-top: 30px;
    padding: 14px 32px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.alr-profile-submit:hover {
    background-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alr-profile-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Messages in profile */
#password-message {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

#password-message:empty {
    display: none;
}

#password-message.success {
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

#password-message.error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .alr-profile-wrapper {
        margin: 40px auto;
    }
    
    .alr-profile-header h1 {
        font-size: 28px;
    }
    
    .alr-profile-section {
        padding: 25px;
    }
    
    .alr-profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .alr-profile-field.alr-full-width {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .alr-profile-section {
        padding: 20px;
    }
    
    .alr-section-title {
        font-size: 16px;
    }
}