/* ===================================
   Settings Page Styles
   =================================== */

.settings-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.settings-header {
    margin-bottom: 32px;
}

.settings-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-text);
}

.settings-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.settings-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    padding-left: 16px;
}

.settings-list {
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow-color);
    overflow: hidden;
}

.settings-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    text-decoration: none;
    color: var(--primary-text);
    transition: background-color 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.settings-list-item:last-child {
    border-bottom: none;
}

.settings-list-item:hover {
    background-color: rgba(108, 99, 255, 0.05);
}

.settings-list-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.settings-list-info {
    flex: 1;
}

.settings-list-title {
    font-size: 16px;
    font-weight: 500;
}

.settings-list-item i.fa-arrow-right {
    color: var(--light-gray);
    font-size: 14px;
}

.settings-list-item.destructive .settings-list-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.settings-list-item.destructive .settings-list-title {
    color: #dc3545;
}

/* ===================================
   Membership Info Modal Styles
   =================================== */

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    padding-top: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 14px;
    color: var(--secondary-text);
    text-align: left;
    flex: 0 0 auto;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
    text-align: right;
    flex: 1;
    margin-left: 16px;
    word-break: break-word;
}

/* Membership Info Icon */
.membership-info-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.membership-info-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 30px;
}

.membership-info-icon + h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-text);
    margin-bottom: 20px;
}

/* Password Change Icon */
.password-change-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.password-change-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 30px;
}

.password-change-icon + h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-text);
    margin-bottom: 8px;
}

.password-change-description {
    text-align: center;
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Password Security Message */
.password-security-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.password-security-message.secure {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.password-security-message.insecure {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Password Toggle Button */
.password-toggle {
    background: none;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    padding: 0 8px;
    font-size: 14px;
}

.password-toggle:hover {
    color: var(--primary-text);
}

/* Temporary Password Box */
.temporary-password-box {
    padding: 16px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    margin-top: 16px;
    margin-bottom: 16px;
}

.temporary-password-box i {
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 8px;
}

.temporary-password-box strong {
    color: var(--primary-text);
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.temporary-password-box p {
    color: var(--secondary-text);
    font-size: 13px;
    margin-bottom: 12px;
}

/* Delete Account Warning */
.delete-account-warning {
    text-align: center;
    margin-bottom: 20px;
}

.delete-account-warning i {
    color: #ffc107;
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.delete-account-warning h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-text);
    margin-bottom: 12px;
    text-align: center;
}

.delete-account-warning p {
    color: var(--primary-text);
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;
}

.delete-account-warning ul {
    text-align: left;
    margin: 16px auto;
    padding-left: 20px;
    max-width: 500px;
    display: inline-block;
}

.delete-account-warning li {
    color: var(--primary-text);
    font-size: 14px;
    margin-bottom: 8px;
}

/* Google Account Info Box */
.google-account-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    margin-bottom: 20px;
}

.google-account-info i {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.google-account-info strong {
    color: var(--accent);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.google-account-info p {
    color: var(--primary-text);
    font-size: 13px;
    margin: 0;
}

/* Password Confirm Text */
.password-confirm-text {
    text-align: center;
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-actions .auth-button {
    flex: 1;
}

.form-actions .auth-button.secondary {
    flex: 1;
}

.form-actions .auth-button.primary {
    flex: 2;
}

/* Error Message */
.error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.error-message i {
    font-size: 16px;
}

/* About App */
.about-app-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px auto;
    width: 100%;
}

.about-app-icon img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.about-app-title {
    text-align: center !important;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-text);
    margin: 16px 0 8px 0;
}

.about-app-icon + h3,
.about-app-icon + .about-app-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-text);
    margin: 16px 0 8px 0;
}

.app-version {
    text-align: center !important;
    color: var(--secondary-text);
    font-size: 14px;
    margin-bottom: 20px;
}

.app-description {
    text-align: center !important;
    color: var(--primary-text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Auth Button Styles */
.auth-button {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.auth-button.primary {
    background: var(--accent);
    color: white;
}

.auth-button.primary:hover {
    background: rgba(108, 99, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.auth-button.secondary {
    background: transparent;
    color: var(--secondary-text);
    border: 1px solid var(--light-gray);
}

.auth-button.secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-text);
}

.auth-button.destructive {
    background: #dc3545;
    color: white;
}

.auth-button.destructive:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.auth-button i {
    margin-right: 8px;
}

/* Auth Input Wrapper */
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.auth-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--accent);
    font-size: 16px;
    z-index: 1;
}

.auth-input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.auth-input-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

.auth-input-wrapper .password-toggle {
    position: absolute;
    right: 16px;
    z-index: 1;
}