/* ===== Product Authentication Checker Style ===== */

#product-auth-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 30px 25px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    font-family: "Cairo", Arial, sans-serif;
    text-align: center;
}

/* Title */
#product-auth-container h2 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #1f2937;
    font-weight: 700;
}

/* Input */
#product_code {
    width: 100%;
    padding: 14px 0px;
    text-indent: 15px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    font-size: 16px;
    transition: 0.3s;
    outline: none;
}

#product_code:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

/* Captcha box */
#custom-recaptcha,
#product-auth-container .parent_rec {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    color: #374151;
    justify-content: space-between;
}

.parent_rec br {
    display: none !important;
}

#product-auth-container .parent_rec:hover {
    border-color: #2563eb;
    background: #f0f6ff;
}

.parent_rec {
    display: flex;
    align-items: center;
}

.parent_rec img {
    width: 60px;
}

.parent_rec .rec_text {
    display: flex;
    align-items: center;
}

#captcha-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.image_rec_parent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Button */
#product-auth-form button {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

#product-auth-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, .35);
}

/* Loading */
#loading {
    margin-top: 20px;
    font-weight: 600;
    color: #2563eb;
}

/* Result Box */
#auth-result {
    margin-top: 25px;
    padding: 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    animation: fadeIn .4s ease-in-out;
}

#auth-result.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

#auth-result.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

#auth-result.warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 480px) {
    #product-auth-container {
        padding: 25px 18px;
    }
}

.parent_rec a {
    color: rgb(181 181 181);
}

.image_auth_result {
    width: 200px;
}