/* Profile Module specific styles */

.profile-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .profile-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* Profile Card */
.profile-card {
    display: flex;
    flex-direction: column;
}

/* Avatar */
.profile-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.avatar-initials {
    line-height: 1;
    text-transform: uppercase;
}

/* Profile Information */
.profile-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .profile-info {
        grid-template-columns: 1fr 1fr;
    }
}

.info-group {
    margin-bottom: 0.5rem;
}

.info-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid var(--border-color-light);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-active {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.status-inactive {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.status-admin {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

/* Password Card */
.password-card {
    height: fit-content;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    max-width: 24rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid var(--success-color);
}

.toast-error {
    border-left: 4px solid var(--danger-color);
}

.toast-warning {
    border-left: 4px solid var(--warning-color);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast-success .toast-icon {
    color: var(--success-color);
}

.toast-error .toast-icon {
    color: var(--danger-color);
}

.toast-warning .toast-icon {
    color: var(--warning-color);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--text-color);
}

.toast-close {
    cursor: pointer;
    color: var(--text-color);
    font-size: 1rem;
}