/* Modern UI styles with unique grid and animations */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gradient-1: #4f70bc;
    --primary-gradient-2: #1a2537;
    --primary-gradient-3: #8d42d7;
    --accent-color-1: #64ffda;
    --accent-color-2: #00ffd5;
    --accent-color-3: #7c3aed;
    --text-primary: #000000;
    --text-secondary: rgba(9, 9, 9, 0.7);
    --glass-background: rgba(178, 161, 93, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    min-height: 100vh;
    background: 
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.03), transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(100, 255, 218, 0.03), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(93, 0, 255, 0.03), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(100, 255, 218, 0.03), transparent 50%),
        linear-gradient(45deg, var(--primary-gradient-1), var(--primary-gradient-2), var(--primary-gradient-3));
    color: var(--text-primary);
    padding: 1rem;
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: -100px auto;
    padding: 2rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
    transform-style: preserve-3d;
    perspective: 1000px;
    margin-top: 2rem;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin: 5rem 1rem 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(75deg, var(--accent-color-1), var(--accent-color-2), var(--accent-color-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFloat 3s ease-in-out infinite;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 5px;
    background: linear-gradient(90deg, transparent,var(--accent-color-1), var(--accent-color-2), var(--accent-color-3), transparent);
}

.form-container {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at top right, rgba(203, 63, 193, 0.2), transparent 70%),
        radial-gradient(circle at bottom left, rgba(203, 63, 193, 0.15), transparent 70%);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    padding: 1.5rem;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-container::before {
    content: '';
    position: absolute;
    width: 210px;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
}

.form-container::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    bottom: -30px;
    left: -30px;
    transform: rotate(45deg);
    z-index: 0;
}

.form-container:nth-child(1) {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at top right, rgba(203, 63, 193, 0.2), transparent 70%),
        linear-gradient(60deg, rgba(203, 63, 193, 0.15) 25%, transparent 25.5%);
}

.form-container:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(203, 63, 193, 0.3), transparent);
}

.form-container:nth-child(2) {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at top right, rgba(217, 174, 74, 0.2), transparent 70%),
        radial-gradient(circle at bottom left, rgba(217, 174, 74, 0.15), transparent 70%);
}

.form-container:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(217, 174, 74, 0.3), transparent);
}

.form-container:nth-child(3) {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at top right, rgba(206, 108, 191, 0.2), transparent 70%),
        radial-gradient(circle at bottom left, rgba(206, 108, 191, 0.15), transparent 70%);
}

.form-container:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(206, 108, 191, 0.3), transparent);
}

.form-container:nth-child(4) {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at top right, rgba(184, 79, 149, 0.2), transparent 70%),
        radial-gradient(circle at bottom left, rgba(184, 79, 149, 0.15), transparent 70%);
}

.form-container:nth-child(4)::before {
    background: linear-gradient(135deg, rgba(184, 79, 149, 0.3), transparent);
}

.form-container:nth-child(5) {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at top right, rgba(226, 90, 90, 0.2), transparent 70%),
        radial-gradient(circle at bottom left, rgba(226, 90, 90, 0.15), transparent 70%);
}

.form-container:nth-child(5)::before {
    background: linear-gradient(135deg, rgba(226, 90, 90, 0.3), transparent);
}

.form-container:nth-child(6) {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at top right, rgba(188, 112, 54, 0.2), transparent 70%),
        radial-gradient(circle at bottom left, rgba(188, 112, 54, 0.15), transparent 70%);
}

.form-container:nth-child(6)::before {
    background: linear-gradient(135deg, rgba(188, 112, 54, 0.3), transparent);
}

.form-container .form-title::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.form-container .form-title::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
}

.form-container:hover::before {
    transform: scale(1.2) rotate(-15deg);
    transition: transform 0.4s ease;
    opacity: 0.4;
}

.form-container:hover::after {
    transform: scale(1.2) rotate(60deg);
    transition: transform 0.4s ease;
    opacity: 0.4;
}

.form-container:hover {
    transform: translateY(-5px) translateZ(20px);
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.1),
        0 3px 6px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0 0 1.5rem;
    position: relative !important;
    display: block !important;
}

.form-container h2.form-title {
    margin-bottom: 50px !important;
}

.form-title::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 10px !important;
    margin: 20px auto !important;
    width: 100px !important;
    height: 0.1px !important;
    background-color: transparent !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    z-index: -10 !important;
    transition: all 0.3s ease-in-out !important;
}

.form-container:hover .form-title::after {
    background-color: #ebda60 !important;
    box-shadow: 
        10px 0 50px 1px #9500ff,
        0 0 15px 2px rgb(255, 207, 74) !important;
}

.input-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-container:nth-child(5) .input-group {
    display: inline-block;
    width: calc(50% - 5px);
    margin-bottom: 0.5rem;
    vertical-align: top;
}

.form-container:nth-child(5) .input-group:first-of-type {
    margin-right: 10px;
}

input[type="password"],
input[type="text"],
input[type="number"] {
    width: 70%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.16);
    border: 5px solid var(--glass-border);
    border-radius: 120px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.form-container:nth-child(5) input[type="number"] {
    width: 80%;
    padding: 8px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(124, 122, 122, 0.468);
    color: #000;
    font-size: 0.9rem;
}

input:focus {
    outline: none;
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-container:nth-child(5) input[type="number"]:focus {
    outline: none;
    border-color: rgba(226, 90, 90, 0.5);
    box-shadow: 0 0 0 2px rgba(226, 90, 90, 0.1);
}

.form-container:nth-child(1) input::placeholder { color: rgba(255, 191, 0, 0.7); }
.form-container:nth-child(2) input::placeholder { color: rgba(0, 255, 0, 0.7); }
.form-container:nth-child(3) input::placeholder { color: rgba(0, 0, 0, 0.921); }
.form-container:nth-child(4) input::placeholder { color: rgba(255, 255, 0, 0.7); }
.form-container:nth-child(5) input::placeholder { color: rgb(7, 7, 7); }
.form-container:nth-child(6) input::placeholder { color: rgb(0, 0, 0); }

.file-input-wrapper {
    width: 120px;
    height: 30px;
    position: absolute;
    top:80px;
    left: 20px;
    z-index: 10;
}

.file-input-button {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0 15px;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.file-input-button:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.file-input-button:active {
    transform: translateY(1px);
}

input[type="file"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 3;
}

.form-container:nth-child(1) .file-input-button {
    background: linear-gradient(140deg, rgba(203, 63, 193, 0.8), rgba(232, 225, 97, 0.8));
    color: #000000;
}

.form-container:nth-child(2) .file-input-button {
    background: linear-gradient(135deg, rgba(217, 174, 74, 0.8), rgba(0, 128, 0, 0.8));
    color: #000000;
}

.form-container:nth-child(3) .file-input-button {
    background: linear-gradient(135deg, rgba(206, 108, 191, 0.8), rgba(0, 0, 128, 0.8));
    color: #000000;
}

.form-container:nth-child(4) .file-input-button {
    background: linear-gradient(135deg, rgba(184, 79, 149, 0.8), rgba(255, 128, 0, 0.8));
    color: #000000;
}

.form-container:nth-child(5) .file-input-button {
    background: linear-gradient(135deg, rgba(226, 90, 90, 0.8), rgba(128, 0, 128, 0.8));
    color: #000000;
}

.form-container:nth-child(6) .file-input-button {
    background: linear-gradient(135deg, rgba(188, 112, 54, 0.8), rgba(0, 128, 128, 0.8));
    color: #000000;
}

button {
    width: 90%;
    padding: 0.8rem;
    background: linear-gradient(45deg, var(--accent-color-3), var(--accent-color-1));
    border: none;
    border-radius: 30px;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.form-container:nth-child(5) button {
    margin-top: 0.5rem;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(124, 58, 237, 0.2);
    background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-3));
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.github-logo {
    position: fixed;
    top: 1rem;
    right: 1rem;
    color: #fdfdfd;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 100;
}

.github-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--accent-color-1);
}

.flashes {
    position: fixed;
    top: 1rem;
    right: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.flashes li {
    background: rgba(244, 67, 54, 0.9);
    color: rgb(0, 0, 0);
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Position adjustments for file inputs in specific containers */
.form-container:nth-child(1) .file-input-wrapper {
    position: relative;
    top: -50px;
    display: flex;
    justify-content: center;
}

.form-container:nth-child(2) .file-input-wrapper {
    position: relative;
    top: -50px;
    display: flex;
    justify-content: center;
}

.form-container:nth-child(4) .file-input-wrapper {
    position: relative;
    top: -50px;
    display: flex;
    justify-content: center;
}

/* Adjust the button position within the container */
.form-container:nth-child(1) .file-input-button,
.form-container:nth-child(2) .file-input-button,
.form-container:nth-child(4) .file-input-button {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
}


/* Add shake animation for errors */
@keyframes shake {
    10%, 90% {
        transform: translateX(-1px);
    }
    20%, 80% {
        transform: translateX(2px);
    }
    30%, 50%, 70% {
        transform: translateX(-3px);
    }
    40%, 60% {
        transform: translateX(3px);
    }
}

/* Add bounce effect for success */
@keyframes successBounce {
    0% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.notification:not(.error).show {
    animation: successBounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Add these styles to your existing CSS file */
.progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-overlay.active {
    opacity: 1;
    visibility: visible;
}

.progress-container {
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-overlay.active .progress-container {
    transform: scale(1);
}

.progress-circle {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 50% 50%;
    stroke: var(--accent-color-1);
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color-1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.progress-overlay.active .progress-text {
    opacity: 1;
    transform: scale(1);
}

.progress-status {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.progress-overlay.active .progress-status {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

.progress-ring {
    animation: rotate 4s linear infinite;
}

.progress-overlay.complete .progress-ring-circle {
    stroke: #4CAF50;
    animation: pulse 0.5s ease-in-out;
}

.progress-overlay.complete .progress-text {
    color: #4CAF50;
    animation: pulse 0.5s ease-in-out;
}

/* Add these new styles for the completion animation */
@keyframes spinComplete {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(720deg) scale(1.2);
    }
    100% {
        transform: rotate(1080deg) scale(1);
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.progress-overlay.complete .progress-ring {
    animation: spinComplete 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkmark {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkmark path {
    stroke: #4CAF50;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.progress-overlay.complete .checkmark {
    opacity: 1;
    transform: scale(1);
}

.progress-overlay.complete .checkmark path {
    animation: checkmarkDraw 0.5s ease-in-out 0.6s forwards;
}

.progress-overlay.complete .progress-ring-circle {
    opacity: 0;
    transition: opacity 0.3s ease 0.6s;
}

.progress-overlay.complete .progress-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-status {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.progress-overlay.complete .progress-status {
    color: #4CAF50;
    transform: translateY(0);
    opacity: 1;
}

/* Add these new styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: 16px 28px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    min-width: 300px;
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.toast-notification.show {
    transform: translateX(-420px);
}

.toast-notification.error {
    border-left: 4px solid #ff4e4e;
}

.toast-notification.success {
    border-left: 4px solid #4CAF50;
}

.toast-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.toast-notification.error .toast-icon::before,
.toast-notification.error .toast-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 16px;
    background-color: #ff4e4e;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.toast-notification.success .toast-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.toast-notification.success .toast-icon::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background-color: #4CAF50;
    bottom: 6px;
    left: 4px;
    border-radius: 1px;
    transform: rotate(45deg);
}

.toast-notification.success .toast-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: #4CAF50;
    bottom: 4px;
    right: 6px;
    border-radius: 1px;
    transform: rotate(-45deg);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.form-container {
    background-color: #adb4b6;
    padding: 20px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%) translateY(0) scale(0.95);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    color: white;
    padding: 16px 28px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    min-width: 300px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.notification.show {
    top: 20px;
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

.notification.error {
    border-left: 4px solid #ff4e4e;
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.notification.error .notification-icon::before,
.notification.error .notification-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 16px;
    background-color: #ff4e4e;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.notification.error .notification-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.notification.error .notification-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.notification.success .notification-icon {
    transform: rotate(-45deg);
}

.notification.success .notification-icon::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background-color: #4CAF50;
    bottom: 6px;
    left: 4px;
    border-radius: 1px;
}

.notification.success .notification-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: #4CAF50;
    bottom: 4px;
    right: 6px;
    border-radius: 1px;
}

@keyframes slideIn {
    0% {
        transform: translateX(-50%) translateY(-20px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-20px) scale(0.95);
        opacity: 0;
    }
}

.notification.show {
    animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.notification.hide {
    animation: slideOut 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-overlay.active {
    opacity: 1;
    visibility: visible;
}

.progress-container {
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-overlay.active .progress-container {
    transform: scale(1);
}

.progress-circle {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 50% 50%;
    stroke: var(--accent-color-1);
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color-1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.progress-overlay.active .progress-text {
    opacity: 1;
    transform: scale(1);
}

.progress-status {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.progress-overlay.active .progress-status {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

.progress-ring {
    animation: rotate 4s linear infinite;
}

.progress-overlay.complete .progress-ring-circle {
    stroke: #4CAF50;
    animation: pulse 0.5s ease-in-out;
}

.progress-overlay.complete .progress-text {
    color: #4CAF50;
    animation: pulse 0.5s ease-in-out;
}

@keyframes spinComplete {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(720deg) scale(1.2);
    }
    100% {
        transform: rotate(1080deg) scale(1);
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.progress-overlay.complete .progress-ring {
    animation: spinComplete 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkmark {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkmark path {
    stroke: #4CAF50;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.progress-overlay.complete .checkmark {
    opacity: 1;
    transform: scale(1);
}

.progress-overlay.complete .checkmark path {
    animation: checkmarkDraw 0.5s ease-in-out 0.6s forwards;
}

.progress-overlay.complete .progress-ring-circle {
    opacity: 0;
    transition: opacity 0.3s ease 0.6s;
}

.progress-overlay.complete .progress-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-status {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.progress-overlay.complete .progress-status {
    color: #4CAF50;
    transform: translateY(0);
    opacity: 1;
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: 16px 28px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    min-width: 300px;
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.toast-notification.show {
    right: 20px;
    opacity: 1;
}

.toast-notification.error {
    border-left: 4px solid #ff4e4e;
}

.toast-notification.success {
    border-left: 4px solid #4CAF50;
}

.toast-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.toast-notification.error .toast-icon::before,
.toast-notification.error .toast-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 16px;
    background-color: #ff4e4e;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.toast-notification.error .toast-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.toast-notification.error .toast-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.toast-notification.success .toast-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.toast-notification.success .toast-icon::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background-color: #4CAF50;
    bottom: 6px;
    left: 4px;
    border-radius: 1px;
    transform: rotate(45deg);
}

.toast-notification.success .toast-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: #4CAF50;
    bottom: 4px;
    right: 6px;
    border-radius: 1px;
    transform: rotate(-45deg);
}

@keyframes slideInToast {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToast {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-notification.show {
    animation: slideInToast 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast-notification.hide {
    animation: slideOutToast 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer:hover {
    opacity:10;
}

.footer-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.copyright-symbol {
    font-size: 1.1em;
    margin-right: 0.2rem;
}

.separator {
    color: rgba(0, 0, 0, 0.4);
}

.author-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.author-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.author-link:hover {
    color: var(--glass-border);
}

.author-link:hover::after {
    width: 100%;
}

.dot {
    color: var(--accent-color-3);
    font-size: 1.2em;
}

.rights {
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.9em;
}
