* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

:root {
    --background: #0a192f;
    --secondaryBackground: #112240;
    --text: #e6f1ff;
    --purple: #8892b0;
    --teal: #64ffda;
    --danger: #ff6b6b;
    --boxShadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hoverShadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}

.container {
    flex: 1;
    max-width: 500px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: var(--boxShadow);
    margin: 0;
}

form {
    margin-top: 40px;
    width: 100%;
    display: flex;
    gap: 16px;
    position: relative;
}

/* Input field styling */
#taskInput {
    flex: 1;
    padding: 16px 24px;
    background-color: var(--secondaryBackground);
    border: 2px solid var(--purple);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    font-size: 1rem;
    box-shadow: var(--boxShadow);
    transition: all 0.3s ease;
}

#taskInput::placeholder {
    color: var(--purple);
    opacity: 0.7;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#taskInput:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

#taskInput:hover {
    border-color: var(--teal);
}

/* Submit button styling */
form button {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal), #5e4fd1);
    font-size: 24px;
    font-weight: bold;
    border: none;
    outline: none;
    color: var(--background);
    cursor: pointer;
    box-shadow: var(--boxShadow);
    transition: all 0.3s ease;
}

form button:hover {
    transform: scale(1.05);
    box-shadow: var(--hoverShadow);
}

form button:active {
    transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    form {
        margin-top: 30px;
        gap: 12px;
    }

    #taskInput {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    form button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Stats container styling */
.stats-container {
    padding: 16px;
    border-radius: 16px;
    border: 2px solid var(--purple);
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
    background: rgba(17, 34, 64, 0.6);
    box-shadow: var(--boxShadow);
}

.stats-container:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--hoverShadow);
}

/* Progress bar container */
#progressBar {
    width: 100%;
    height: 12px;
    background-color: var(--secondaryBackground);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--purple);
}

/* Progress bar fill */
#progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, rgb(191, 65, 65), #2eb4cc);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Task counter styling */
#numbers {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondaryBackground), #1a365d);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 30px;
    font-weight: bold;
    box-shadow: var(--boxShadow);
    border: 2px solid var(--purple);
    transition: all 0.3s ease;
}

#numbers:hover {
    border-color: var(--teal);
    transform: scale(1.05);
    box-shadow: var(--hoverShadow);
}

/* Details section styling */
.details {
    width: 100%;
}

.details h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, var(--text), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.details p {
    color: var(--purple);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-container {
        padding: 16px;
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    #numbers {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }

    .details h1 {
        font-size: 2rem;
        text-align: center;
    }

    .details p {
        text-align: center;
    }

    #progressBar {
        height: 10px;
        margin-top: 16px;
    }
}

/* Custom checkbox styles */
input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--purple);
    border-radius: 6px;
    background-color: var(--secondaryBackground);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

input[type="checkbox"]:checked {
    background-color: var(--teal);
    border-color: var(--teal);
}

input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: var(--background);
    font-size: 14px;
    font-weight: bold;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

input[type="checkbox"]:hover {
    border-color: var(--teal);
}

/* Rest of your existing CSS remains the same */
.details {
    width: 100%;
}

.details h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, var(--text), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ... (rest of the existing CSS) ... */

/* Update responsive design */
@media (max-width: 768px) {
    .container {
        margin-top: 40px;
        margin-left: 20px;
        padding: 16px;
    }
    
    /* ... (rest of your media queries) ... */
}
/* Add these styles to your existing CSS, after the initial variables but before the body styles */

.welcome-header {
   
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px;  /* Increased padding */
    background: linear-gradient(to bottom, var(--secondaryBackground) 0%, transparent 100%);
    border-radius: 30px;
    
    text-align: center;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown 0.8s ease-out forwards;
}

.welcome-header h2 {
    font-size: 3.2rem;  /* Increased font size */
    font-family: 'Playfair Display', 'Georgia', serif;  /* More elegant font */
    font-weight: 700;
    margin-bottom: 0rem;  /* Increased margin */
    background: linear-gradient(to right, var(--text), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    letter-spacing: 1px;  /* Added letter spacing */
}

.welcome-header p {
    color: var(--purple);
    font-size: 1.0rem;  /* Increased font size */
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    font-family: 'Inter', sans-serif;  /* Modern sans-serif font */
    letter-spacing: 0.5px;
}
/* Adjust container margin to account for welcome header */
.container {
    margin-top: 160px;
}

/* Animation keyframes */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Add this to your media queries section */
@media (max-width: 768px) {
    .welcome-header {
        padding: 15px;
    }
    
    .welcome-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-header p {
        font-size: 1rem;
    }
    
    .container {
        margin-top: 140px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Keep your existing root variables */

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Add new wrapper for main content */
.main-content {
    display: flex;
    gap: 2px;  /* Increased gap between containers */
    width: 100%;
    max-width: 1400px;
    margin-top: 0px;  /* Increased top margin */
    padding: 0 40px 0  150px;  /* Increased horizontal padding */
}


.container {
    flex: 1;
    max-width: 500px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: var(--boxShadow);
    margin: 0;
}

.cont2 {
    width: 350px;
    margin: 0;
    padding: 0;
}
.schedule-header {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, var(--text), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.schedule-container {
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    margin-left: 50px;
    padding: 20px;
    border: 2px solid var(--purple);
    width: 500px;
    height: 100%;
    border: none;
}

.schedule-table {
    max-height: 500px;
    overflow-y: auto;
}

.time-slot {
    display: flex;
    border-bottom: 2px solid rgba(136, 146, 176, 0.2);
    width: 100%;
}

.time-label {
    width: 150px;
    padding: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    
}

.event-cell {
    padding: 12px;
    font-size: 1.6rem;
    width: 100%;
}

.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

/* Modal container */
.modal-content {
    background: linear-gradient(145deg, var(--secondaryBackground), rgba(17, 34, 64, 0.9));
    padding: 32px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    border: 2px solid var(--teal);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    animation: slideUp 0.3s ease-out forwards;
}

/* Modal header */
.modal-content h3 {
    color: var(--text);
    margin-bottom: 24px;
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--text), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Event input field */
#eventInput {
    width: 100%;
    padding: 16px;
    margin-bottom: 24px;
    background-color: var(--background);
    border: 2px solid var(--purple);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

#eventInput:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

#eventInput::placeholder {
    color: var(--purple);
    opacity: 0.7;
}

/* Button container */
.modal-buttons {
    display: flex;
    gap: 16px;
}

/* Modal buttons */
.modal-buttons button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--boxShadow);
}

.save-btn {
    background: linear-gradient(135deg, var(--teal), #4fd1c5);
    color: var(--background);
}

.cancel-btn {
    background: linear-gradient(135deg, var(--purple), #6b7290);
    color: var(--text);
}

.modal-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: var(--hoverShadow);
}

.modal-buttons button:active {
    transform: translateY(1px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        width: 95%;
    }

    .modal-content h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    #eventInput {
        padding: 14px;
        margin-bottom: 20px;
    }

    .modal-buttons button {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Media query for responsive design */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cont2 {
        width: 100%;
        max-width: 500px;
    }

    .container {
        width: 100%;
    }
}
/* Update existing media queries and add new ones */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .main-content {
        flex-direction: column;
        padding: 0 15px;
        gap: 30px;
    }

    .welcome-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .welcome-header h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .welcome-header p {
        font-size: 0.9rem;
    }

    .container {
        margin: 0;
        padding: 15px;
        width: 100%;
        max-width: none;
    }

    .stats-container {
        padding: 12px;
        gap: 15px;
        flex-direction: row;
        align-items: center;
    }

    #numbers {
        width: 70px;
        height: 70px;
        font-size: 20px;
        border-radius: 15px;
    }

    .details h1 {
        font-size: 1.8rem;
        text-align: left;
    }

    .details p {
        font-size: 0.9rem;
        text-align: left;
    }

    form {
        margin-top: 20px;
        gap: 10px;
    }

    #taskInput {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    form button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .cont2 {
        width: 100%;
        margin: 0;
    }

    .schedule-container {
        width: 100%;
        margin: 0;
        padding: 15px;
    }

    .schedule-header {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .time-slot {
        padding: 5px 0;
    }

    .time-label {
        width: 80px;
        padding: 8px;
        font-size: 1rem;
    }

    .event-cell {
        padding: 8px;
        font-size: 1rem;
    }

    /* Modal adjustments for mobile */
    .modal-content {
        padding: 20px;
        width: 90%;
    }

    #eventInput {
        padding: 12px;
        font-size: 0.9rem;
    }

    .modal-buttons button {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Add small phone support */
@media (max-width: 375px) {
    .welcome-header h2 {
        font-size: 1.5rem;
    }

    .details h1 {
        font-size: 1.5rem;
    }

    .stats-container {
        padding: 10px;
    }

    #numbers {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    .time-label {
        width: 70px;
        font-size: 0.9rem;
    }

    .event-cell {
        font-size: 0.9rem;
    }
}