/* Base styles */
.gc-verification-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 48px;
    width: 90%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gc-verification-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #4a6bff 0%, #00d2ff 100%);
}

.gc-verification-container h2 {
    color: #2c3e50;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 28px;
    position: relative;
    display: inline-block;
}

.gc-verification-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a6bff 0%, #00d2ff 100%);
    border-radius: 3px;
}

/* Input styles */
.gc-input-group {
    position: relative;
    margin: 30px 0;
}

.gc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gc-input-wrapper i {
    position: absolute;
    left: 20px;
    color: #4a6bff;
    font-size: 20px;
}

#gcVerificationCode {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid #e0e3e9;
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    font-weight: 500;
    color: #2c3e50;
}

#gcVerificationCode:focus {
    outline: none;
    border-color: #4a6bff;
    box-shadow: 0 0 0 4px rgba(74, 107, 255, 0.15);
}

/* Button styles */
#gcVerifyButton {
    background: linear-gradient(90deg, #4a6bff 0%, #00d2ff 100%);
    color: white;
    border: none;
    padding: 18px 42px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(74, 107, 255, 0.25);
    position: relative;
    overflow: hidden;
}

#gcVerifyButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 107, 255, 0.3);
}

#gcVerifyButton:active {
    transform: translateY(0);
}

/* Security badge */
.gc-security-badge {
    margin-top: 30px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gc-security-badge i {
    font-size: 32px;
    color: #4a6bff;
    margin-right: 16px;
    flex-shrink: 0;
}

.gc-security-badge span {
    font-size: 14px;
    color: #666;
    text-align: left;
    line-height: 1.4;
}

/* Popup styles */
.gc-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    display: none;
}

.gc-popup.gc-show {
    opacity: 1;
    display: flex;
}

.gc-popup-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.gc-popup.gc-show .gc-popup-content {
    transform: scale(1);
}

.gc-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gc-popup-close:hover {
    background: #f5f5f5;
    color: #555;
}

.gc-popup-icon {
    font-size: 80px;
    margin-bottom: 20px;
    line-height: 1;
}

.gc-valid-icon {
    color: #4CAF50;
    text-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.gc-invalid-icon {
    color: #F44336;
    text-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

/* Loading popup styles */
.gc-loading-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    display: none;
}

.gc-loading-popup.gc-show {
    opacity: 1;
    display: flex;
}

.gc-loading-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.gc-loading-popup.gc-show .gc-loading-content {
    transform: scale(1);
}

.gc-loading-bar-container {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 25px 0 15px;
    overflow: hidden;
    position: relative;
}

.gc-loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #4a6bff 0%, #00d2ff 100%);
    width: 0%;
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    overflow: hidden;
}

.gc-loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
                    rgba(255,255,255,0) 0%, 
                    rgba(255,255,255,0.6) 50%, 
                    rgba(255,255,255,0) 100%);
    animation: gc-loading-shimmer 1.5s infinite;
}

@keyframes gc-loading-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.gc-loading-text {
    margin-top: 8px;
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.gc-loading-steps {
    text-align: left;
    margin: 25px 0 10px;
    font-size: 15px;
    color: #555;
}

.gc-loading-step {
    margin: 12px 0;
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: all 0.3s;
}

.gc-loading-step.gc-active {
    opacity: 1;
    transform: translateX(5px);
}

.gc-loading-step.gc-completed {
    opacity: 1;
}

.gc-loading-step i {
    margin-right: 12px;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.gc-loading-step.gc-completed i {
    color: #4CAF50;
}

.gc-loading-step.gc-active i {
    color: #4a6bff;
    animation: gc-pulse 1.5s infinite;
}

@keyframes gc-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.gc-verification-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4a6bff 0%, #00d2ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(74, 107, 255, 0.3);
}

/* Certificate styles */
.gc-certificate {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #ccc;
    text-align: center;
}

.gc-certificate i {
    font-size: 32px;
    color: #4CAF50;
    margin-bottom: 10px;
    display: block;
}

.gc-certificate h4 {
    margin: 10px 0 5px;
    color: #2c3e50;
}

.gc-certificate p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Security notice */
.gc-security-notice {
    margin-top: 25px;
    background: #fff8f8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #F44336;
}

.gc-security-notice h4 {
    margin: 0 0 8px 0;
    color: #F44336;
}

.gc-security-notice p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Confetti styles */
.gc-confetti {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #4a6bff;
    border-radius: 50%;
    animation: gc-confetti-fall 5s linear forwards;
    opacity: 0;
    z-index: 9999;
}

@keyframes gc-confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .gc-verification-container {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .gc-verification-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    #gcVerificationCode {
        padding: 16px 20px 16px 50px;
        font-size: 16px;
    }
    
    #gcVerifyButton {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .gc-popup-content, .gc-loading-content {
        padding: 30px 20px;
    }
}