* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
.main-heading {
    color: #333;
    font-size: 4em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-decoration: underline;
    text-decoration-color: #ff6347;
    text-decoration-thickness: 2px;
    text-decoration-style: wavy;
    text-decoration-skip-ink: none;
    text-underline-offset: 4px;
    text-transform: capitalize;
    font-family: 'Arial', sans-serif;
}

.uploader {
    margin: 20px auto;
    height: 200px;
    width: 400px;
    background-color: #ffe4e6;
    border: 2px dashed #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.uploader:hover {
    background-color: #ffb6c1;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px dashed #e11d48;

}

#uploader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.uploader img {
    max-height: 150px;
    max-width: 150px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.submit-div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.button {
    cursor: pointer;
    font-size: 1.4rem;
    border-radius: 16px;
    display: none;
    border: none;
    background: radial-gradient(circle 80px at 80% -10%, #ffffff, #181b1b);
    position: relative;
}

.button::after {
    content: "";
    position: absolute;
    width: 65%;
    height: 40%;
    border-radius: 120px;
    top: 0;
    right: 0;
    box-shadow: 0 0 20px #ffffff38;
    z-index: -1;
}

.blob1 {
    position: absolute;
    width: 70px;
    height: 100%;
    border-radius: 16px;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle 60px at 0% 100%,
            #3fe9ff,
            #0000ff80,
            transparent);
    box-shadow: -10px 10px 30px #0051ff2d;
}

.inner {
    padding: 14px 25px;
    border-radius: 14px;
    color: #fff;
    z-index: 3;
    position: relative;
    background: radial-gradient(circle 80px at 80% -50%, #777777, #0f1111);
}

.inner::before {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 14px;
    background: radial-gradient(circle 60px at 0% 100%,
            #00e1ff1a,
            #0000ff11,
            transparent);
    position: absolute;
}

.files-status {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;

}

.file-status {
    display: flex;
    flex-direction: column;
    border: 1px solid #ff6347;
    padding: 10px;
    border-radius: 10px;
}

.file-name {
    font-size: 0.85rem;
    margin-right: 6px;
    max-width: 320px;
    min-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 1.3em;
    overflow: hidden;
}

.file-size {
    margin-top: 14px;
    font-size: 0.75rem;
    color: #555;
}

.delete-btn {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    max-width: 30px;
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-right: 20px;
}

/* Container & Positioning */
.toast-container {
    position: fixed;
    z-index: 9999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 450px;
    pointer-events: none;
}

[data-position="tr"] {
    top: 0;
    right: 0;
    align-items: flex-end;
}

[data-position="tc"] {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

[data-position="tl"] {
    top: 0;
    left: 0;
    align-items: flex-start;
}

[data-position="br"] {
    bottom: 0;
    right: 0;
    align-items: flex-end;
    flex-direction: column-reverse;
}

[data-position="bc"] {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    flex-direction: column-reverse;
}

[data-position="bl"] {
    bottom: 0;
    left: 0;
    align-items: flex-start;
    flex-direction: column-reverse;
}

.toast {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 12px;
    min-width: 320px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.toast.toast-success {
    --toast-accent-color: #16a34a;
    background: #16a34a !important;
    color: #ffffff !important;
}

.toast.toast-error {
    --toast-accent-color: #dc2626;
    background: #dc2626 !important;
    color: #ffffff !important;
}

.toast.toast-warning {
    --toast-accent-color: #f59e0b;
    background: #f59e0b !important;
    color: #ffffff !important;
}

.toast.toast-info {
    --toast-accent-color: #3b82f6;
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.style-accent .toast-icon,
.style-bordered .toast-icon,
.style-minimal .toast-icon {
    color: var(--toast-accent-color);
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.4rem;
    opacity: 0.4;
    line-height: 1;
    padding: 0;
    margin-left: auto;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.toast-close:hover {
    opacity: 1;
}

.style-accent {
    border: 1px solid var(--toast-accent-color);
    border-left: 6px solid var(--toast-accent-color);
}

.style-bordered {
    border: 2px solid var(--toast-accent-color);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: var(--toast-accent-color);
    opacity: 0.3;
    transform-origin: left;
    z-index: 10;
    transform: scaleX(1);
}

.style-solid .toast-progress {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    to {
        transform: translateX(-120%);
        opacity: 0;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}