/*Web fonts added*/
@font-face {
    font-family: OutfitLight;
    src: url('../fonts/OutfitLight.ttf');
}

@font-face {
    font-family: OutfitRegular;
    src: url('../fonts/OutfitRegular.ttf');
}

@font-face {
    font-family: OutfitMedium;
    src: url('../fonts/OutfitMedium.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f7f7f7;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    width: 100%;
    height: 109px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

/* Header Divider */
.header-divider {
    width: 100%;
    height: 4px;
    background: #e9e9e9;
}

/* Logo */
.logo {
    position: absolute;
    width: 214px;
    height: 71px;
    left: 92px;
    top: 19px;
    background: url('../images/omnissa-logo.png') no-repeat center center;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}

/* Main Container */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 20px 40px;
    position: relative;
    overflow: hidden;
}

/* App Icon Container */
.icon-container {
    width: 150px;
    height: 150px;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Horizontal Container */
.app-icon {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 15px;
    width: 150px;
    height: 150px;
    position: relative;
}

/* Assist Logo Inside */
.assist-logo {
    width: 108px;
    height: 101.64px;
    background: url('../images/workspace-one-assist-icon.png') no-repeat center center;
    background-size: contain;
    z-index: 2;
    position: relative;
}

/* Main Instruction Text */
.instruction-text {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #475573;
    text-align: center;
    margin-bottom: 24px;
    max-width: 888px;
    letter-spacing: -0.01em;
}

.instruction-text .highlight {
    font-family: 'Outfit', sans-serif;
    font-style: normal;    
    font-size: 24px;
    line-height: 30px;
    color: #0f172a;
    letter-spacing: -0.01em;
    font-weight: 600;
}

/* Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 54px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(139, 139, 139, 0.2);
    border-radius: 27px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

/* Status Message */
.status-message {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.01em;
    color: #001e60;
    white-space: nowrap;
}

/* Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #f27b4a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success Icon */
.success-icon {
    width: 24px;
    height: 24px;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid white;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

/* Cancel Icon */
.cancel-icon {
    width: 24px;
    height: 24px;
    background-color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cancel-icon::before,
.cancel-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.cancel-icon::before {
    transform: rotate(45deg);
}

.cancel-icon::after {
    transform: rotate(-45deg);
}

/* Not Supported Icon */
.not-supported-icon {
    width: 24px;
    height: 24px;
    background-color: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.not-supported-icon::after {
    content: '!';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Footer Instruction */
.footer-instruction {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #475573;
    text-align: center;
    max-width: 1001px;
    letter-spacing: -0.01em;
}

.footer-link {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.footer-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #f8f8f8;
    border-top: 1px solid #e5e7eb;
    padding: 32px 20px 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer p {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #6b7280;
    letter-spacing: 0em;
}

.footer-policy {
    margin-top: 8px;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #6b7280;
    letter-spacing: 0em;
}

.footer-policy a {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #2563eb;
    text-decoration: none;
    margin-left: 4px;
    letter-spacing: 0em;
}

.footer-policy a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        left: 20px;
        width: 160px;
        height: 53px;
    }

    .main-container {
        padding: 40px 20px 80px;
    }

    .icon-container {
        width: 120px;
        height: 120px;
        margin-bottom: 48px;
    }

    .app-icon {
        width: 120px;
        height: 120px;
    }

    .assist-logo {
        width: 86px;
        height: 81px;
    }

    .instruction-text {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 32px;
    }

    .status-indicator {
        margin-bottom: 32px;
        padding: 0 20px;
        height: 54px;
    }

    .status-message {
        font-size: 18px;
    }

    .footer-instruction {
        font-size: 18px;
        line-height: 24px;
    }

    .footer-link {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .instruction-text {
        font-size: 18px;
        line-height: 24px;
    }

    .status-message {
        font-size: 16px;
    }

    .footer-instruction {
        font-size: 16px;
        line-height: 22px;
    }

    .footer-link {
        font-size: 16px;
    }
}
