/* Certificate Verification Styles */
.hcv-verification-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.hcv-verification-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hcv-title {
    font-size: 32px;
    color: #1e3a8a;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.hcv-description {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 30px;
}

.hcv-form {
    margin-bottom: 30px;
}

.hcv-form-group {
    margin-bottom: 20px;
}

.hcv-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
}

.hcv-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hcv-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.hcv-help-text {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
}

.hcv-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hcv-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.3);
}

.hcv-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hcv-spinner-icon {
    animation: rotate 1s linear infinite;
    height: 20px;
    width: 20px;
}

.hcv-spinner-icon .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Result Styles */
.hcv-result {
    padding: 24px;
    border-radius: 8px;
    margin-top: 24px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hcv-result.success {
    background: #f0fdf4;
    border: 2px solid #86efac;
}

.hcv-result.error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
}

.hcv-result-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.hcv-result-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.hcv-result.success .hcv-result-title {
    color: #16a34a;
}

.hcv-result.error .hcv-result-title {
    color: #dc2626;
}

.hcv-result-message {
    text-align: center;
    color: #64748b;
    margin-bottom: 24px;
    font-size: 15px;
}

.hcv-certificate-details {
    background: white;
    padding: 24px;
    border-radius: 8px;
    margin-top: 20px;
}

.hcv-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.hcv-detail-row:last-child {
    border-bottom: none;
}

.hcv-detail-label {
    font-weight: 600;
    color: #475569;
}

.hcv-detail-value {
    color: #1e293b;
    text-align: right;
}

.hcv-certificate-badge {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.hcv-view-certificate-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hcv-view-certificate-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.hcv-verify-again-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    background: transparent;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hcv-verify-again-btn:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

/* Responsive */
@media (max-width: 768px) {
    .hcv-verification-container {
        padding: 24px;
    }
    
    .hcv-title {
        font-size: 24px;
    }
    
    .hcv-detail-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .hcv-detail-value {
        text-align: left;
    }
}
