/* Profile Settings Page */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

/* Header */
.profile-header {
    margin-bottom: var(--spacing-2xl);
}

.profile-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.profile-subtitle {
    font-size: 1.125rem;
    color: var(--color-black);
    font-weight: 400;
}

/* Content */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Profile Card */
.profile-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
}

.profile-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
}

.profile-card__description {
    color: var(--color-black);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

/* User Info */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-black);
}

.profile-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
}

/* Profile Form */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Moodle Instructions */
.moodle-instructions {
    background-color: var(--color-light);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.moodle-instructions__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
}

.moodle-instructions__list {
    margin: 0;
    padding-left: var(--spacing-xl);
    color: var(--color-black);
    line-height: 1.8;
}

.moodle-instructions__list li {
    margin-bottom: var(--spacing-xs);
}

.moodle-instructions__list strong {
    color: var(--color-black);
    font-weight: 600;
}

/* Token Label Container */
.token-label-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* Token Status Badge */
.token-status-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-success);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: 0.25rem 0.625rem;
    border-radius: var(--border-radius-full);
    white-space: nowrap;
}

/* Form Actions */
.form-actions {
    margin-top: var(--spacing-md);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .profile-title {
        font-size: 1.75rem;
    }

    .profile-subtitle {
        font-size: 1rem;
    }

    .profile-card {
        padding: var(--spacing-lg);
    }

    .profile-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
}
