@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropBounce {
    0% {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) translateY(5px);
    }
    80% {
        transform: scale(0.95) translateY(-2px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(21, 239, 147, 0));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(21, 239, 147, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 2px rgba(21, 239, 147, 0));
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
}

body {
    background-color: #0a1027;
    min-height: 100vh; /* This will be overridden by JavaScript when invite section is active */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px;
    transition: min-height 0.3s ease;
}

.container {
    max-width: 28rem;
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.drop-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    opacity: 0;
    animation: dropBounce 1s ease-out forwards, glowPulse 3s ease-in-out infinite;
}

.drop-icon img {
    width: 100%;
    height: 100%;
    fill: #00FFB2;
    transition: transform 0.3s ease;
}

.drop-icon:hover img {
    transform: scale(1.05);
}

h1 {
    font-size: 1.875rem;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
    line-height: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.5s;
}

.header-title {
    margin-bottom: 20px;
}

.subtitle {
    color: #94A3B8;
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.7s;
}

.step-text {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.9s;
}

.input-container {
    position: relative;
    margin-bottom: 16px;
    margin-top: 16px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 1.1s;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 56%;
    transform: translateY(-50%);
    z-index: 1;
    transition: transform 0.3s ease;
}

.search-icon svg {
    color: rgb(21 239 147);
    transition: color 0.3s ease;
}

input {
    width: 100%;
    height: 40px;
    padding: 12px 12px 12px 40px;
    border-radius: 8px;
    border: 1px solid #1E293B;
    background-color: rgb(255 255 255 / 0.1);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    line-height: 20px;
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #ffffff69;
    font-weight: 400;
    transition: color 0.3s ease;
}

input:focus {
    background-color: #0F172A;
    border-color: #00FFB2;
    box-shadow: 0 0 0 1px #00FFB2;
    transform: translateY(-1px);
}

input:focus + .search-icon {
    transform: translateY(-50%) scale(1.1);
}

input:not(:placeholder-shown) {
    background-color: #0F172A;
    border-color: #1E293B;
}

button.enabled {
    opacity: 1;
    color: #0F172A;
    cursor: pointer;
}

button:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;  /* Specific transition for the transform property */
}

button.enabled:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(21, 239, 147, 0.2);
}

.powered-by {
    margin-top: 40px;
    color: #94A3B8;
    font-size: 0.8rem;
    line-height: 16px;
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 1.5s;
}

.powered-by img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}

.powered-by img:hover {
    transform: scale(1.1);
}

.powered-by p {
    display: block;
    transition: color 0.3s ease;
}

.powered-by:hover p {
    color: #ffffff;
}

.powered-by p a {
    text-decoration: unset;
    color: #10805d;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .drop-icon {
        width: 200px;
        height: 200px;
    }
}

.loading-spinner {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    animation: rotate 1s linear infinite;
    display: inline-block;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: -100%;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
}

.notification h4 {
    color: #0a1027;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.notification p {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

.notification.show {
    right: 20px;
}

.step-2 {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: left;
}

.step-2.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-2 h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
    text-align: center;
}

.verification-label {
    font-size: 1.125rem;
    color: white;
    text-align: left;
    margin-bottom: 12px;
    margin-top: 12px;
    line-height: 1.75rem;
}

.code-container {
    background: #000000;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.code {
    color: #15ef93;
    font-family: monospace;
    font-size: 1.125rem;
}

.copy-btn {
    background: #15ef93;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: .5rem;
    opacity: 1;
    background: rgb(21 239 147);
}

.copy-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.copy-btn svg {
    width: 18px;
    height: 18px;
    color: #d5d5d5;
}

.instruction-text {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: -10px;
    text-align: left;
    line-height: 1.2rem;
}

.startButton{
    width: 100%;
    height: 44px;
    background: #15ef93;
    border: none;
    border-radius: 8px;
    color: #0a1027;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin: 24px 0 12px 0;
    transition: all 0.2s ease;
    opacity: 1;
}


.startButton:hover {
    transform: scale(1.05);
}

.verify-btn {
    width: 100%;
    height: 44px;
    background: #15ef93;
    border: none;
    border-radius: 8px;
    color: #0a1027;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin: 24px 0 12px 0;
    transition: all 0.2s ease;
    opacity: 1;
}

.verify-btn:hover {
    transform: scale(1.05);
}

.edit-btn {
    width: 100%;
    height: 44px;
    background: #E74C3C;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 1;
}

.edit-btn:hover {
    transform: scale(1.05);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    animation: rotate 1s linear infinite;
}

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

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

.drop-icon-small img {
    animation: scalePulse 1.5s infinite;
}

.logout{
    text-decoration: none;
    color: #10805d;
    /* margin-top: 10px; */
}

.logout:hover{
    opacity:0.7;
}

.logout-step3{
    width: 10%;
    margin: auto;
    font-size: 0.85rem;
    display: block;
    margin-top: 20px;
}
