* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    color: #000;
    background: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

/* Tailwind utility classes */
.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.p-4 {
    padding: 1rem;
}

.w-full {
    width: 100%;
}

.text-red-600 {
    color: #dc2626;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.transition-colors {
    transition: background-color 0.2s ease-in-out;
}

/* Custom shadow utilities for the button design */
.shadow-2 {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.shadow-1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Transform utilities */
.translate-y-2xs {
    transform: translateY(2px);
}

/* Duration utilities */
.duration-700 {
    transition-duration: 700ms;
}

.duration-100 {
    transition-duration: 100ms;
}

/* Select utilities */
.select-none {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Custom button styles to match design */
.btn-primary {
    background: linear-gradient(135deg, #4C00C2 0%, #6B00FF 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(76, 0, 194, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 0, 194, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 0, 194, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 12px rgba(76, 0, 194, 0.3);
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(76, 0, 194, 0.3);
}

/* Card styles */
.card {
    padding: 40px;
    margin: 0 auto;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

.inner-card {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    justify-items: left;
}

/* Icon styles */
.icon-container {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-error {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

/* Text styles */
.title {
    font-size: 31px;
    font-weight: 700;
    color: #32007E;
    margin-bottom: 16px;
    line-height: 36px;
    text-align: left;
}

.description {
    font-size: 16px;
    color: #444E5D;
    line-height: 24px;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Loading spinner */
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid #4C00C2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

/* Icon size media queries */
@media (max-width: 767px) {
    .icon-container {
        width: 88px;
        height: 88px;
    }
    .card {
        width: 100%;
        height: 100vh;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .icon-container {
        width: 120px;
        height: 120px;
    }
    .card {
        width: 500px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .icon-container {
        width: 168px;
        height: 168px;
    }
    .card {
        width: 500px;
    }
}

@media (min-width: 1440px) {
    .icon-container {
        width: 168px;
        height: 168px;
    }
    .title {
        font-size: 39px;
        line-height: 44px;
    }
    .description {
        font-size: 20px;
        line-height: 28px;
    }
    .card {
        width: 600px;
    }
}