/* GLOBAL RESET */
* {
    box-sizing: border-box;   /* 🔥 prevents overflow issues */
}


/* BODY */
html, body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    height: 100%;
}

body {
	display: flex;
	flex-direction: column;
}

.main-content {
	flex: 1;

}

/* CONTAINER */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

#toast-container {

    position: fixed;

    top: 100px;

    right: 20px;

    z-index: 9999;

}


.toast {

    min-width: 280px;

    background: #111827;

    color: white;

    padding: 16px 22px;

    border-radius: 14px;

    margin-bottom: 14px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.18);

    font-weight: 500;

    opacity: 0;

    transform: translateX(100px);

    animation: toastIn 0.35s ease forwards;

}


.toast.success {

    background: #10b981;

}


.toast.error {

    background: #ef4444;

}


@keyframes toastIn {

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


@keyframes toastOut {

    to {

        opacity: 0;

        transform: translateX(100px);

    }

}

#toast-container {

    position: fixed;

    top: 100px;

    right: 20px;

    z-index: 9999;

}


.toast {

    min-width: 280px;

    background: #111827;

    color: white;

    padding: 16px 22px;

    border-radius: 14px;

    margin-bottom: 14px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.18);

    font-weight: 500;

    opacity: 0;

    transform: translateX(100px);

    animation: toastIn 0.35s ease forwards;

}


.toast.success {

    background: #10b981;

}


.toast.error {

    background: #ef4444;

}


@keyframes toastIn {

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


@keyframes toastOut {

    to {

        opacity: 0;

        transform: translateX(100px);

    }

}
