* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}
.password-screen{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(135deg,#667eea,#764ba2);
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
font-family:'Quicksand',sans-serif;
}

/* Glass Card */

.password-card{

background:rgba(255,255,255,0.15);
backdrop-filter:blur(20px);

padding:40px;
border-radius:25px;

width:340px;

text-align:center;

box-shadow:
0 20px 60px rgba(0,0,0,0.25);

animation:fadeIn 0.6s ease;

}

/* Title */

.lock-title{

font-size:28px;
margin-bottom:10px;
color:white;

}

.lock-title i{

margin-right:8px;
color:#ff7aa2;

}

/* Subtitle */

.lock-subtitle{

color:#eee;
font-size:14px;
margin-bottom:25px;

}

/* Input */

.password-input{

width:100%;

padding:14px;

border-radius:12px;

border:none;

outline:none;

font-size:16px;

margin-bottom:20px;

background:rgba(255,255,255,0.9);

transition:0.3s;

}

.password-input:focus{

transform:scale(1.02);

box-shadow:
0 0 15px rgba(255,255,255,0.6);

}


/* Button */

.unlock-btn{

width:100%;

padding:14px;

border:none;

border-radius:14px;

font-size:16px;

font-weight:600;

cursor:pointer;

color:white;

background:linear-gradient(135deg,#ff6b9d,#ff3d7f);

transition:0.3s;

}

.unlock-btn:hover{

transform:translateY(-2px);

box-shadow:
0 10px 25px rgba(0,0,0,0.3);

}

.unlock-btn:active{

transform:scale(0.98);

}


/* Error */

.password-error{

color:#ffdede;
margin-top:15px;
display:none;
font-size:14px;

}


/* Animation */

@keyframes fadeIn{

from{

opacity:0;
transform:translateY(20px);

}

to{

opacity:1;
transform:translateY(0);

}

}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #e91e63;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
}

.meeting-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #e91e63;
    font-weight: 500;
}

.meeting-info i {
    color: #ff4081;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.zodiac-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.zodiac-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 25px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.zodiac-item i {
    color: #fff;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-item i {
    color: #fff;
}

/* Main Content */
.main-content {
    margin-bottom: 40px;
}

.diary-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .diary-sections {
        grid-template-columns: 1fr;
    }
}

.diary-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diary-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.abdallah-section {
    border-top: 5px solid #4CAF50;
}

.molly-section {
    border-top: 5px solid #FF69B4;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.abdallah-section .section-header h2 {
    color: #4CAF50;
}

.molly-section .section-header h2 {
    color: #FF69B4;
}

.zodiac-badge {
    font-size: 1.2rem;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.abdallah-section .zodiac-badge {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
}

.molly-section .zodiac-badge {
    background: linear-gradient(135deg, #FF69B4, #FFB6C1);
    color: white;
}

/* Diary Form */
.diary-form {
    margin-bottom: 25px;
}

/* Mood Selector */
.mood-selector {
    margin-bottom: 15px;
}

.mood-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.mood-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mood-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mood-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.mood-btn.selected {
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-color: #e91e63;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.mood-btn.selected::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Input Footer */
.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    gap: 15px;
}

.word-count {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.date-input {
    width: 100%;
    padding: 12px 15px;
    margin: 15px 0;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.date-input:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.add-entry-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-entry-btn:hover {
    background: linear-gradient(135deg, #d81b60, #ec407a);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.3);
}

.add-entry-btn:active {
    transform: translateY(0);
}

/* Entries Container */
.entries-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.entries-container::-webkit-scrollbar {
    width: 8px;
}

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

.entries-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-radius: 10px;
}

.entries-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d81b60, #ec407a);
}

.diary-entry {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid;
    transition: all 0.3s ease;
    position: relative;
}

.abdallah-section .diary-entry {
    border-left-color: #4CAF50;
}

.molly-section .diary-entry {
    border-left-color: #FF69B4;
}

.diary-entry:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.entry-date {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.delete-btn {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background: #ff3838;
    transform: scale(1.05);
}

.entry-content {
    line-height: 1.6;
    color: #444;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.footer p {
    font-size: 1.1rem;
    color: #e91e63;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Dark Mode */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

body.dark-mode .header,
body.dark-mode .diary-section,
body.dark-mode .footer {
    background: rgba(30, 30, 46, 0.95);
    color: #e0e0e0;
}

body.dark-mode .title {
    color: #ff6b9d;
}

body.dark-mode .subtitle {
    color: #b0b0b0;
}

body.dark-mode textarea,
body.dark-mode .date-input {
    background: #2a2a3e;
    color: #e0e0e0;
    border-color: #444;
}

body.dark-mode .diary-entry {
    background: #2a2a3e;
    color: #e0e0e0;
}

body.dark-mode .word-count {
    background: #2a2a3e;
    color: #b0b0b0;
}

body.dark-mode .mood-btn {
    background: #2a2a3e;
    border-color: #444;
}

body.dark-mode .mood-btn:hover {
    background: #3a3a4e;
}
