/**
 * Adaptog Product Verifier - Frontend Styles
 * Matches exact class names from PHP and JS
 * Brand: #11A2A8 (teal), #020101 (text), 40px radius buttons
 */

/* ==========================================
   FORM STYLES (from PHP)
   ========================================== */

.adaptog-verifier-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
}

.adaptog-verifier-form {
    text-align: center;

}

.adaptog-verifier-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #020101;
    margin-bottom: 30px;
    margin-top: 50px;
}

.adaptog-verifier-description {
    margin: 0 0 20px 0;
    color: #020101;
    opacity: 0.7;
}

.adaptog-input-group {
    display: flex;
    gap: 12px;
    max-width: 100%;
}

.adaptog-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #dee2e6;
    border-radius: 40px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.adaptog-input:focus {
    border-color: #11A2A8;
    box-shadow: 0 0 0 3px rgba(17, 162, 168, 0.15);
}

.adaptog-button {
 	padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
    background: #11A2A8 !important;
    border: none !important;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.adaptog-button:hover {
    background: #0e8a8f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 162, 168, 0.3);
    border: none !important;
    color: #fff !important;
}


.adaptog-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.adaptog-btn-text {
    display: inline-block;
}

.adaptog-btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.adaptog-spinner {
    width: 20px;
    height: 20px;
    animation: adaptog-spin 1s linear infinite;
}

@keyframes adaptog-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   RESULTS STYLES (from JS)
   ========================================== */

.adaptog-result {
    margin-top: 25px;
}

/* Verified/Error Banner */
.adaptog-verified-banner {
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.adaptog-verified-banner.success {
    background: #11A2A8;
    color: #fff;
}

.adaptog-verified-banner.error {
    background: #dc3545;
    color: #fff;
}

.adaptog-verified-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.adaptog-verified-text {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* Product Card */
.adaptog-product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 25px;
}

.adaptog-product-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.adaptog-product-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
}

.adaptog-product-info {
    flex: 1;
}

.adaptog-product-name {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #020101;
}

.adaptog-product-code-display {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #020101;
}

/* Details Grid */
.adaptog-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.adaptog-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.adaptog-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
}

.adaptog-detail-value {
    font-size: 15px;
    color: #020101;
    font-weight: 500;
}

/* Custom Message */
.adaptog-custom-message {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 4px solid #11A2A8;
}

.adaptog-custom-message-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 8px;
}

.adaptog-custom-message-text {
    margin: 0;
    color: #020101;
    line-height: 1.6;
}

/* COA Button */
.adaptog-coa-section {
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.adaptog-coa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff;
    color: #020101;
    border: 2px solid #11A2A8;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.adaptog-coa-btn:hover {
    background: #11A2A8;
    color: #fff;
}

.adaptog-coa-btn svg {
    width: 18px;
    height: 18px;
}

/* Error Card */
.adaptog-error-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 30px;
    text-align: center;
}

.adaptog-error-message {
    color: #020101;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.adaptog-try-again {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid #11A2A8;
    border-radius: 40px;
    color: #11A2A8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.adaptog-try-again:hover {
    background: #11A2A8;
    color: #fff;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 500px) {
    .adaptog-input-group {
        flex-direction: column;
    }
    
    .adaptog-button {
        width: 100%;
    }
    
    .adaptog-product-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .adaptog-details-grid {
        grid-template-columns: 1fr;
    }
}