* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #f5f5f7;
    display: flex;
}

.sidebar {
    width: 250px;
    height: 100vh;
    background-color: white;
    padding: 20px;
    border-right: 1px solid #e1e1e1;
    border-radius: 0 16px 16px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    font-size: 16px;
}

.menu-item:hover {
    background-color: rgb(227, 227, 227);
    color: #28292a;
}

.menu-item.active {
    background-color: #28292a;
    color: white;
}

.menu-item svg {
    margin-right: 12px;
}

.divider {
    height: 1px;
    background-color: #e1e1e1;
    margin: 20px 0;
}

.content {
    flex: 1;
    padding: 40px;
}

.card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.subtitle {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.profile-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.profile-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    cursor: pointer;
}

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.profile-logo:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay i {
    color: white;
    font-size: 24px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: #28292a;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    color: #555;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background-color: #28292a;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button.secondary {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

.linked-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

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

.account-info img {
    height: 40px;
    width: 40px;
    margin-right: 30px;
}

.account-name {
    font-weight: 500;
    font-size: 16px;
    color: #333;
}

.account-email {
    font-size: 14px;
    color: #777;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flex-row .input-field {
    width: 85%;
    margin-bottom: 0;
}

.flex-row .button {
    width: 15%;
    padding: 12px 15px;
    white-space: nowrap;
}

/* Notification Styles */
.notification-list {
    margin: 20px 0;
    height: 380px;
    overflow-y: auto;
    padding-right: 10px;
}

.notification-list::-webkit-scrollbar {
    width: 8px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    transition: background-color 0.3s;
}

.notification-item.unread {
    background-color: #e8f0fe;
    border-left: 3px solid #1a73e8;
}

.notification-icon {
    padding: 10px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 15px;
}

.notification-icon i {
    font-size: 20px;
    color: #1a73e8;
}

.notification-content {
    flex: 1;
}

.notification-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.notification-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.notification-time {
    color: #999;
    font-size: 12px;
}

.notification-actions {
    display: flex;
    gap: 10px;
}

.notification-actions button {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.notification-actions button:hover {
    color: #1a73e8;
}

.notification-settings {
    margin-top: 30px;
    padding: 25px;
    border-radius: 12px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
}

.notification-settings h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.setting-item {
    margin: 15px 0;
    padding: 12px;
    border-radius: 8px;
}

.setting-item label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    cursor: pointer;
    font-weight: 500;
}

.setting-item input[type="checkbox"] {
    width: 45px;
    height: 22px;
    appearance: none;
    background: #eee;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.setting-item input[type="checkbox"]:checked {
    background: #1a73e8;
}

.setting-item input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
}

.setting-item input[type="checkbox"]:checked::before {
    left: 25px;
}

/* Wallet Section Styles */
.wallet-balance {
    background: linear-gradient(135deg, #28292a 0%, #1a1a1a 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.wallet-balance h3 {
    font-size: 16px;
    color: #ffffff90;
}

.balance {
    font-size: 36px;
    font-weight: 600;
    margin: 15px 0;
}

.wallet-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.payment-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.card-type {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-number {
    font-size: 18px;
    margin-bottom: 15px;
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-card-button {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-card-button:hover {
    background: #fff;
    border-color: #28292a;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.transaction-item i {
    font-size: 24px;
    margin-right: 15px;
}

.transaction-details {
    flex: 1;
}

.transaction-amount {
    font-weight: 500;
}

.income {
    color: #28a745;
}

.expense {
    color: #dc3545;
}

/* Beta Section Styles */
.beta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.feature-header i {
    font-size: 28px;
    color: #28292a;
    background: #f0f0f0;
    padding: 12px;
    border-radius: 12px;
}

.beta-tag {
    background: linear-gradient(135deg, #28292a, #1a1a1a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #28292a;
}

.feature-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.feature-card .button {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    background: linear-gradient(135deg, #28292a, #1a1a1a);
    transition: opacity 0.3s;
}

.feature-card .button:hover {
    opacity: 0.9;
}

/* Security Section Styles */
.security-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

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

.security-info i {
    font-size: 24px;
    color: #28292a;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #28292a;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Header Row and Back Button Styles */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.back-to-home {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 18px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Logout Section Styles */
.logout-options {
    margin-top: 20px;
}

.logout-action,
.delete-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.action-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-info i {
    font-size: 24px;
    color: #28292a;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.action-info p {
    color: #666;
    font-size: 14px;
}

.divider-line {
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

.danger-zone {
    background: #fff5f5;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #fee2e2;
}

.danger-zone>h3 {
    color: #dc2626;
    font-size: 16px;
    margin-bottom: 20px;
}

.delete-action {
    background: white;
    margin-bottom: 0;
}

.delete-action .action-info i {
    color: #dc2626;
}

.delete-btn {
    background-color: #dc2626;
}

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