body {
    font-family: Arial, sans-serif;
    background-color: #fff0f5;
    color: #333;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

header {
    background-color: #f06292;
    color: white;
    padding: 20px;
    text-align: center;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.section {
    background-color: #ffe4e1;
    padding: 20px;
    margin-top: 20px;
    border-left: 5px solid #f06292;
    border-radius: 8px;
}

button {
    background-color: #f06292;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #ec407a;
}

textarea {
    width: 90%;
    height: 100px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

select {
    padding: 8px;
    margin-top: 10px;
    font-size: 16px;
}

.dark-mode {
    background-color: #2e2e2e;
    color: #fce4ec;
}

.dark-mode .section {
    background-color: #3e3e3e;
    border-left-color: #ff80ab;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #888;
}

.btn-container {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-start; /* Align left */
}

.btn-container button {
    min-width: 140px;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease-in-out;
}


.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
    color: #d81b60;
    font-size: 18px;
    position: relative;
    animation: popIn 0.4s ease;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #000;
}


@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
