@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFF0E6; 
    background-image: url('../img/pattern.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

textarea {
    resize: none;
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-show {
    opacity: 1 !important;
    transform: translate(-50%, 0) !important;
}

/* Animated Google-style Button */
@keyframes rotate-gradient {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.animated-border-btn {
    position: relative;
    border-radius: 9999px;
    padding: 3px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: block;
    width: 100%;
    cursor: pointer;
}

.animated-border-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    padding-bottom: 300%;
    background: conic-gradient(from 0deg, #4285f4, #ea4335, #fbbc05, #34a853, #4285f4);
    animation: rotate-gradient 3s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.animated-border-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.animated-border-btn.disabled::before {
    background: #94a3b8;
    animation: none;
}

.animated-border-btn-inner {
    position: relative;
    z-index: 1;
    background-color: #1E293B;
    border-radius: 9999px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}