/* Default Theme (Purple) */
:root {
    --primary-color: #7E57C2;
    --secondary-color: #B39DDB;
    --accent-color: #5E35B1;
    --text-color: #333;
    --light-text: #f8f9fa;
    --background-color: #f8f9fa;
    --card-bg: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Additional default theme specific styles */
body.theme-default .diary-entry,
body.theme-default .entry-list,
body.theme-default .chat-container,
body.theme-default .sidebar,
body.theme-default .auth-container,
body.theme-default .profile-container {
    background-color: #fff;
    border: 1px solid #EDE7F6;
}

body.theme-default .btn {
    background-color: var(--primary-color);
}

body.theme-default .btn:hover {
    background-color: #5E35B1;
}

body.theme-default .entry-item {
    border-left: 4px solid var(--secondary-color);
}

body.theme-default .entry-item:hover {
    background-color: #F5F0FF;
}

body.theme-default .date-list li:hover {
    background-color: #F5F0FF;
}

body.theme-default .date-list li.active {
    background-color: var(--secondary-color);
}

body.theme-default header {
    background: linear-gradient(135deg, #7E57C2, #B39DDB);
}

body.theme-default .sama-message {
    background-color: #F5F0FF;
}

/* Dark Theme */
body.theme-dark {
    --primary-color: #BB86FC;
    --secondary-color: #03DAC6;
    --accent-color: #CF6679;
    --text-color: #e0e0e0;
    --light-text: #f8f9fa;
    --background-color: #121212;
    --card-bg: #1E1E1E;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Additional dark theme specific styles */
body.theme-dark .diary-entry,
body.theme-dark .entry-list,
body.theme-dark .chat-container,
body.theme-dark .sidebar,
body.theme-dark .auth-container,
body.theme-dark .profile-container {
    background-color: #2D2D2D;
    color: #e0e0e0;
}

body.theme-dark header {
    background-color: #1E1E1E;
    color: #ffffff;
}

body.theme-dark .form-control {
    background-color: #3D3D3D;
    border-color: #555;
    color: #e0e0e0;
}

body.theme-dark .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.3);
}

body.theme-dark .btn {
    background-color: var(--primary-color);
    color: #121212;
}

body.theme-dark .btn:hover {
    background-color: #A66EFC;
}

body.theme-dark .entry-item {
    background-color: #3D3D3D;
    border-left: 4px solid var(--secondary-color);
}

body.theme-dark .entry-item:hover {
    background-color: #4D4D4D;
}

body.theme-dark .date-list li:hover {
    background-color: #3D3D3D;
}

body.theme-dark .date-list li.active {
    background-color: var(--primary-color);
    color: #121212;
}

body.theme-dark .sama-message {
    background-color: #3D3D3D;
    color: #e0e0e0;
}

body.theme-dark .message-time {
    color: #aaa;
}

body.theme-dark .entry-time {
    color: #aaa;
}

body.theme-dark .user-message {
    background-color: var(--primary-color);
    color: #121212;
}

body.theme-dark .chat-input input {
    background-color: #3D3D3D;
    border-color: #555;
    color: #e0e0e0;
}

body.theme-dark .chat-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.3);
}

body.theme-dark .chat-input button {
    background-color: var(--primary-color);
    color: #121212;
}

body.theme-dark .chat-input button i {
    color: #121212;
}

body.theme-dark .chat-input button:hover {
    background-color: #A66EFC;
}

body.theme-dark .diary-textarea {
    background-color: #3D3D3D;
    border-color: #555;
    color: #e0e0e0;
}

body.theme-dark .diary-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.3);
}

body.theme-dark .welcome-banner h1,
body.theme-dark .profile-header h2 {
    color: var(--primary-color);
}

body.theme-dark a {
    color: var(--secondary-color);
}

body.theme-dark .nav-links a {
    color: var(--light-text);
}

/* Ocean Theme */
body.theme-ocean {
    --primary-color: #1976D2;
    --secondary-color: #64B5F6;
    --accent-color: #0D47A1;
    --text-color: #333;
    --light-text: #f8f9fa;
    --background-color: #E3F2FD;
    --card-bg: #fff;
    --shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

/* Additional ocean theme specific styles */
body.theme-ocean .diary-entry,
body.theme-ocean .entry-list,
body.theme-ocean .chat-container,
body.theme-ocean .sidebar,
body.theme-ocean .auth-container,
body.theme-ocean .profile-container {
    background-color: #fff;
    border: 1px solid #BBDEFB;
}

body.theme-ocean .btn {
    background-color: var(--primary-color);
}

body.theme-ocean .btn:hover {
    background-color: #1565C0;
}

body.theme-ocean .entry-item {
    border-left: 4px solid var(--secondary-color);
}

body.theme-ocean .entry-item:hover {
    background-color: #E3F2FD;
}

body.theme-ocean .date-list li:hover {
    background-color: #E3F2FD;
}

body.theme-ocean .date-list li.active {
    background-color: var(--primary-color);
}

body.theme-ocean header {
    background: linear-gradient(135deg, #1976D2, #64B5F6);
}

body.theme-ocean .sama-message {
    background-color: #E3F2FD;
}

body.theme-ocean .chat-input button i {
    color: var(--light-text);
}

/* Forest Theme */
body.theme-forest {
    --primary-color: #388E3C;
    --secondary-color: #81C784;
    --accent-color: #1B5E20;
    --text-color: #333;
    --light-text: #f8f9fa;
    --background-color: #E8F5E9;
    --card-bg: #fff;
    --shadow: 0 4px 12px rgba(56, 142, 60, 0.2);
}

/* Additional forest theme specific styles */
body.theme-forest .diary-entry,
body.theme-forest .entry-list,
body.theme-forest .chat-container,
body.theme-forest .sidebar,
body.theme-forest .auth-container,
body.theme-forest .profile-container {
    background-color: #fff;
    border: 1px solid #C8E6C9;
}

body.theme-forest .btn {
    background-color: var(--primary-color);
}

body.theme-forest .btn:hover {
    background-color: #2E7D32;
}

body.theme-forest .entry-item {
    border-left: 4px solid var(--secondary-color);
}

body.theme-forest .entry-item:hover {
    background-color: #E8F5E9;
}

body.theme-forest .date-list li:hover {
    background-color: #E8F5E9;
}

body.theme-forest .date-list li.active {
    background-color: var(--primary-color);
}

body.theme-forest header {
    background: linear-gradient(135deg, #388E3C, #81C784);
}

body.theme-forest .sama-message {
    background-color: #E8F5E9;
}

body.theme-forest .chat-input button i {
    color: var(--light-text);
}

body.theme-default footer {
    background: linear-gradient(135deg, #7E57C2, #B39DDB);
    color: #ffffff;
}

body.theme-dark footer {
    background-color: #1E1E1E;
    color: #ffffff;
}

body.theme-ocean footer {
    background: linear-gradient(135deg, #1976D2, #64B5F6);
    color: #ffffff;
}

body.theme-forest footer {
    background: linear-gradient(135deg, #388E3C, #81C784);
    color: #ffffff;
} 




body.theme-dark .nav-links {
    background-color: #1E1E1E;
}

body.theme-default footer a{
    color: #ffffff !important;
    text-decoration: none !important;
}

body.theme-default footer small {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Hamburger menu theme styles */
body.theme-dark .hamburger-menu span {
    background-color: #ffffff;
}

body.theme-dark .close-icon {
    color: #ffffff;
} 

body.theme-default .chat-input button {
    background-color: var(--primary-color);
    color: var(--light-text);
}

body.theme-default .chat-input button i {
    color: var(--light-text);
}

body.theme-default .chat-input button:hover {
    background-color: var(--accent-color);
} 