@font-face {
    font-family: 'Comfortaa';
    src: url('../assets/fonts/comfortaa-regular.woff2') format('woff2'),
        url('../assets/fonts/comfortaa-regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../assets/fonts/comfortaa-bold.woff2') format('woff2'),
        url('../assets/fonts/comfortaa-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

body {
    background-color: #090C15;
    color: white;
    font-family: 'Comfortaa', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 50%, #d4d8e8 100%);
    color: #1a1a2e;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: rgba(10, 13, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #5638E5;
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .navbar {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #7c5cef;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 45px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .nav-links a {
    color: #1a1a2e;
}

.nav-links a:hover {
    color: #543fce;
}

body.light-theme .nav-links a:hover {
    color: #5638E5;
}

.nav-links a.active {
    color: #543fce;
    font-weight: bold;
}

body.light-theme .nav-links a.active {
    color: #5638E5;
}

.signup-hamburger {
    display: flex;
    align-items: center;
    gap: 30px;
}

.signup-btn {
    background-color: #0E0634;
    border: 2px solid #5638E5;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

body.light-theme .signup-btn {
    background-color: #5638E5;
    border-color: #4325c2;
    color: white;
}

.signup-btn:hover {
    background-color: #5638E5;
}

body.light-theme .signup-btn:hover {
    background-color: #4325c2;
}

.hamburger {
    width: 25px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger div {
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

body.light-theme .hamburger div {
    background-color: #1a1a2e;
}

.main-content {
    flex: 1;
}

.settings-wrapper {
    padding: 0;
    display: flex;
}

.sidebar {
    width: 265px;
    background-color: #0A0D18;
    padding: 25px 20px;
    min-height: calc(100vh - 74px);
    border-right: 1px solid #2C2F45;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .sidebar {
    background-color: #ffffff;
    border-right: 1px solid #d4d8e8;
}

.sidebar-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    color: white;
    padding-left: 10px;
    transition: color 0.3s ease;
}

body.light-theme .sidebar-title {
    color: #1a1a2e;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    text-decoration: none;
    color: white;
    border-radius: 9px;
    transition: all 0.3s ease;
    font-family: 'PT Sans', sans-serif;
    font-size: 19px;
    font-weight: 600;
}

body.light-theme .sidebar-link {
    color: #1a1a2e;
}

.sidebar-link:hover {
    background-color: #161830;
    color: #5638E5;
}

body.light-theme .sidebar-link:hover {
    background-color: #f0f2f8;
    color: #5638E5;
}

.sidebar-link.active {
    background-color: #1A1C36;
    color: #5638E5;
    border-left: 4px solid #5638E5;
}

body.light-theme .sidebar-link.active {
    background-color: #e8eaf0;
    color: #5638E5;
}

.sidebar-link .icon {
    font-size: 24px;
    width: 34px;
    height: 34px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-link .icon img {
    width: 24px;
    height: 24px;
}

.content-area {
    flex: 1;
    padding: 30px 40px;
    background-color: #090C15;
    max-width: 100%;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

body.light-theme .content-area {
    background-color: #f5f7fa;
}

.search-box {
    position: relative;
    margin-bottom: 30px;
    max-width: 1085px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background-color: #161830;
    border: 1px solid #2C2F45;
    border-radius: 25px;
    color: white;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme .search-box input {
    background-color: #ffffff;
    border-color: #d4d8e8;
    color: #1a1a2e;
}

.search-box input:focus {
    outline: none;
    border-color: #5638E5;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}

.account-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #543fce;
    transition: border-color 0.3s ease;
}

body.light-theme .account-header {
    border-bottom-color: #7c5cef;
}

.account-title h2 {
    font-size: 24px;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

body.light-theme .account-title h2 {
    color: #1a1a2e;
}

.account-title p {
    font-size: 16px;
    color: #a7a7c7;
    margin: 0;
    transition: color 0.3s ease;
}

body.light-theme .account-title p {
    color: #6b6b7f;
}

.settings-section {
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #2C2F45;
    transition: border-color 0.3s ease;
}

body.light-theme .settings-section {
    border-bottom-color: #d4d8e8;
}

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

.settings-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .settings-section h3 {
    color: #1a1a2e;
}

.linked-accounts-section h3 {
    margin-bottom: 8px;
}

.section-description {
    font-size: 14px;
    color: #dbdbf2;
    margin-bottom: 25px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

body.light-theme .section-description {
    color: #6b6b7f;
}

.email-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #161830;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #5638E5;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .email-container {
    background-color: #ffffff;
    border-color: #7c5cef;
}

.current-email {
    display: flex;
    align-items: center;
    gap: 15px;
}

.email-label {
    font-size: 14px;
    color: #dbdbf2;
    transition: color 0.3s ease;
}

body.light-theme .email-label {
    color: #6b6b7f;
}

.email-address {
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .email-address {
    color: #1a1a2e;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #4CAF50;
    font-weight: 500;
}

.change-email-btn {
    background-color: #5638E5;
    border: none;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

body.light-theme .change-email-btn {
    background-color: #5638E5;
}

.change-email-btn:hover {
    background-color: #4325c2;
}

body.light-theme .change-email-btn:hover {
    background-color: #4325c2;
}

.change-email-form {
    background-color: #0A0D18;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2C2F45;
    margin-top: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .change-email-form {
    background-color: #ffffff;
    border-color: #d4d8e8;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

body.light-theme .form-group label {
    color: #1a1a2e;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background-color: #0A0D18;
    border: 1px solid #2C2F45;
    border-radius: 8px;
    color: white;
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme .form-group input {
    background-color: #ffffff;
    border-color: #d4d8e8;
    color: #1a1a2e;
}

.form-group input::placeholder {
    color: #a7a7c7;
    opacity: 0.8;
}

body.light-theme .form-group input::placeholder {
    color: #6b6b7f;
}

.form-group input:focus {
    outline: none;
    border-color: #5638E5;
}

.error-message {
    color: #ff4444;
    font-size: 14px;
    margin-top: 8px;
    font-family: 'PT Sans', sans-serif;
    min-height: 18px;
    display: block;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.save-btn {
    background-color: #5638E5;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

body.light-theme .save-btn {
    background-color: #5638E5;
}

.save-btn:hover {
    background-color: #4325c2;
}

body.light-theme .save-btn:hover {
    background-color: #4325c2;
}

.cancel-btn {
    background-color: transparent;
    border: 1px solid #5638E5;
    border-radius: 7px;
    padding: 12px 24px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

body.light-theme .cancel-btn {
    color: #1a1a2e;
    border-color: #5638E5;
}

.cancel-btn:hover {
    background-color: rgba(86, 56, 229, 0.1);
}

body.light-theme .cancel-btn:hover {
    background-color: rgba(86, 56, 229, 0.1);
}

.verification-notice {
    background-color: #2C4F28;
    border: 1px solid #4CAF50;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .verification-notice {
    background-color: #e8f5e8;
    border-color: #4CAF50;
}

.verification-notice i {
    color: #4CAF50;
    font-size: 20px;
    margin-top: 2px;
}

.verification-notice strong {
    color: #4CAF50;
    font-size: 16px;
}

.verification-notice p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #a7a7c7;
    line-height: 1.4;
    transition: color 0.3s ease;
}

body.light-theme .verification-notice p {
    color: #6b6b7f;
}

.password-display-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #161830;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #5638E5;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .password-display-container {
    background-color: #ffffff;
    border-color: #7c5cef;
}

.current-password-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.password-label {
    font-size: 14px;
    color: #dbdbf2;
    transition: color 0.3s ease;
}

body.light-theme .password-label {
    color: #6b6b7f;
}

.password-value-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-value {
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .password-value {
    color: #1a1a2e;
}

.toggle-password-visibility,
.toggle-password-btn {
    background: none;
    border: none;
    color: #5638E5;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.toggle-password-visibility:hover,
.toggle-password-btn:hover {
    background-color: rgba(86, 56, 229, 0.1);
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.password-input-wrapper .toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#password-strength-container {
    width: 100%;
    height: 5px;
    background-color: #333;
    margin-top: 8px;
    border-radius: 3px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

body.light-theme #password-strength-container {
    background-color: #e0e0e0;
}

#password-strength-bar {
    height: 100%;
    width: 0;
    background-color: green;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.change-password-form {
    background-color: #0A0D18;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2C2F45;
    margin-top: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .change-password-form {
    background-color: #ffffff;
    border-color: #d4d8e8;
}

.success-notice {
    background-color: #2C4F28;
    border: 1px solid #4CAF50;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .success-notice {
    background-color: #e8f5e8;
    border-color: #4CAF50;
}

.success-notice i {
    color: #4CAF50;
    font-size: 20px;
    margin-top: 2px;
}

.success-notice strong {
    color: #4CAF50;
    font-size: 16px;
}

.success-notice p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #a7a7c7;
    line-height: 1.4;
    transition: color 0.3s ease;
}

body.light-theme .success-notice p {
    color: #6b6b7f;
}

.linked-accounts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0A0D18;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #2C2F45;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .account-item {
    background-color: #ffffff;
    border-color: #d4d8e8;
}

.account-item:hover {
    background-color: #0b0b1d;
}

body.light-theme .account-item:hover {
    background-color: #f8f9fa;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.account-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background-color: white;
    padding: 8px;
}

.account-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.account-icon.github {
    background-color: #24292e;
}

.account-icon.google {
    background-color: white;
}

.account-icon.apple {
    background-color: #000000;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .account-name {
    color: #1a1a2e;
}

.account-status {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #a7a7c7;
    transition: color 0.3s ease;
}

body.light-theme .account-status {
    color: #6b6b7f;
}

.account-status.connected {
    color: #4CAF50;
}

.connect-btn {
    background-color: #4CAF50;
    border: none;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.connect-btn:hover {
    background-color: #358e38;
}

.connect-btn.connected {
    background-color: #ff4444;
}

.connect-btn.connected:hover {
    background-color: #cc3333;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.session-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #161830;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #2C2F45;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .session-item {
    background-color: #ffffff;
    border-color: #d4d8e8;
}

.session-item:hover {
    background-color: #1A1C36;
}

body.light-theme .session-item:hover {
    background-color: #f8f9fa;
}

.session-item.current-session {
    border-color: #5638E5;
    background-color: rgba(86, 56, 229, 0.1);
}

body.light-theme .session-item.current-session {
    border-color: #7c5cef;
    background-color: rgba(124, 92, 239, 0.1);
}

.session-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.session-icon {
    width: 45px;
    height: 45px;
    background-color: #2C2F45;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ccc;
    transition: background-color 0.3s ease;
}

body.light-theme .session-icon {
    background-color: #e8eaf0;
    color: #6b6b7f;
}

.session-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.session-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .device-name {
    color: #1a1a2e;
}

.current-badge {
    background-color: #4CAF50;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.session-time {
    color: #8b8ba7;
    font-size: 13px;
    font-weight: 400;
}

.session-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s ease;
}

body.light-theme .session-meta {
    color: #6b6b7f;
}

.session-ip {
    font-size: 12px;
    color: #ccc;
    font-family: monospace;
    transition: color 0.3s ease;
}

body.light-theme .session-ip {
    color: #6b6b7f;
}

.session-actions {
    display: flex;
    align-items: center;
}

.current-indicator {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

body.light-theme .current-indicator {
    color: #1a1a2e;
}

.logout-session-btn {
    background-color: transparent;
    border: 1px solid #ff4444;
    border-radius: 7px;
    padding: 8px 16px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #ff4444;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.logout-session-btn:hover {
    background-color: rgba(255, 68, 68, 0.1);
}

.session-management-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #2C2F45;
    transition: border-color 0.3s ease;
}

body.light-theme .session-management-actions {
    border-top-color: #d4d8e8;
}

.logout-all-btn {
    background-color: #ff4444;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.logout-all-btn:hover {
    background-color: #cc3333;
}

.settings-section:not(.danger-zone) {
    margin-bottom: 15px;
}

.danger-zone {
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 0;
    border-radius: 0;
}

.danger-zone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff4444;
    margin-bottom: 25px;
}

.danger-zone-header i {
    color: #ff4444;
    font-size: 24px;
}

.danger-zone h3 {
    color: #ff4444;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.danger-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.danger-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: #0A0D18;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2C2F45;
    transition: all 0.3s ease;
}

body.light-theme .danger-item {
    background-color: #ffffff;
    border-color: #d4d8e8;
}

.danger-item:hover {
    border-color: #ff4444;
    background-color: rgba(255, 68, 68, 0.204);
}

body.light-theme .danger-item:hover {
    border-color: #ff4444;
    background-color: rgba(255, 68, 68, 0.1);
}

.danger-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

body.light-theme .danger-info h4 {
    color: #1a1a2e;
}

.danger-info h4 i {
    color: #ff4444;
    font-size: 18px;
}

.danger-info p {
    font-size: 14px;
    color: #a7a7c7;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

body.light-theme .danger-info p {
    color: #6b6b7f;
}

.delete-account-btn {
    background-color: #ff4444;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.delete-account-btn:hover {
    background-color: #cc3333;
}

footer {
    background-color: #0A0D18;
    border-top: 1px solid #2C2F45;
    padding: 40px 50px;
    margin-top: auto;
    font-family: 'Comfortaa', sans-serif;
    color: white;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme footer {
    background-color: #ffffff;
    border-top-color: #d4d8e8;
    color: #1a1a2e;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-section {
    margin-bottom: 20px;
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #6f54f8;
    transition: color 0.3s ease;
}

body.light-theme .footer-section h3 {
    color: #5638E5;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-section a {
    color: #5638E5;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    padding: 2px 0;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

body.light-theme .footer-links a {
    color: #1a1a2e;
}

.footer-links a:hover {
    color: #5638E5;
    text-decoration: none;
}

.footer-separator {
    height: 1px;
    background-color: #1A1F36;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

body.light-theme .footer-separator {
    background-color: #d4d8e8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #888;
    transition: color 0.3s ease;
}

body.light-theme .copyright {
    color: #6b6b7f;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background-color: #161830;
    border: 1px solid #2C2F45;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .modal {
    background-color: #ffffff;
    border-color: #d4d8e8;
}

.delete-modal {
    background-color: #090C15;
}

body.light-theme .delete-modal {
    background-color: #ffffff;
}

.modal-header {
    padding: 25px 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0;
    transition: color 0.3s ease;
}

body.light-theme .modal-header h3 {
    color: #1a1a2e;
}

.modal-close {
    background: none;
    border: none;
    color: #a7a7c7;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

body.light-theme .modal-close {
    color: #6b6b7f;
}

.modal-close:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

body.light-theme .modal-close:hover {
    color: #1a1a2e;
    background-color: rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.delete-modal .warning-icon {
    text-align: center;
    margin-bottom: 30px;
}

.delete-modal .warning-icon i {
    font-size: 48px;
    color: #ff4444;
}

.delete-modal p {
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

body.light-theme .delete-modal p {
    color: #1a1a2e;
}

.delete-modal ul {
    color: #e7e6e6;
    margin: 15px 0 10px 20px;
    transition: color 0.3s ease;
}

body.light-theme .delete-modal ul {
    color: #6b6b7f;
}

.delete-modal li {
    margin-bottom: 5px;
}

.confirmation-input {
    margin-top: 25px;
}

.confirmation-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: white;
    font-size: 14px;
    transition: color 0.3s ease;
}

body.light-theme .confirmation-input label {
    color: #1a1a2e;
}

.confirmation-input input {
    width: 100%;
    padding: 12px 15px;
    background-color: #0A0D18;
    border: 1px solid #2C2F45;
    border-radius: 8px;
    color: white;
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme .confirmation-input input {
    background-color: #ffffff;
    border-color: #d4d8e8;
    color: #1a1a2e;
}

.confirmation-input input:focus {
    outline: none;
    border-color: #ff4444;
}

.delete-confirm-btn {
    background-color: #ff4444;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.delete-confirm-btn:hover:not(:disabled) {
    background-color: #cc3333;
}

.delete-confirm-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.confirm-logout-btn {
    background-color: #ff4444;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.confirm-logout-btn:hover {
    background-color: #cc3333;
}

@media (max-width: 768px) {
    .settings-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #2C2F45;
    }

    body.light-theme .sidebar {
        border-bottom-color: #d4d8e8;
    }

    .sidebar-links {
        flex-direction: row;
        overflow-x: auto;
        gap: 5px;
        padding-bottom: 10px;
    }

    .sidebar-link {
        white-space: nowrap;
        padding: 15px;
        min-width: auto;
    }

    .sidebar-link span:last-child {
        display: none;
    }

    .content-area {
        padding: 20px;
    }

    .email-container,
    .account-item,
    .session-item,
    .danger-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .session-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .modal {
        width: 95%;
        margin: 10px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }

    .content-area {
        padding: 15px;
    }

    .settings-section {
        padding: 20px 0;
    }

    .sidebar-title {
        font-size: 24px;
        text-align: center;
    }
}

body.light-theme #addEmailPasswordSection {
    background-color: rgba(86, 56, 229, 0.08);
}

#addEmailPasswordSection h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

#password-strength-container-add {
    width: 100%;
    height: 5px;
    background-color: #333;
    margin-top: 8px;
    border-radius: 3px;
    overflow: hidden;
}

body.light-theme #password-strength-container-add {
    background-color: #e0e0e0;
}

#password-strength-bar-add {
    height: 100%;
    width: 0;
    background-color: green;
    transition: width 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 768px) {
    #addEmailPasswordSection {
        padding: 20px 15px;
        margin: 15px 0;
    }
}