/*
 * ELHOE Product Authenticity Checker Styles
 */

.elhoecare-authenticity-checker-wrapper {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    color: #333;
    text-align: center;
}

.elhoecare-checker-title {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.elhoecare-checker-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.elhoecare-authenticity-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.elhoecare-form-group {
    width: 100%;
    text-align: left;
}

.elhoecare-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
    font-weight: 600;
    color: #444;
}

.elhoecare-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.elhoecare-input:focus {
    border-color: #6a0dad; /* A nice purple for focus */
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.2);
    outline: none;
}

/* Updated Button Styles */
.elhoecare-button {
    background: linear-gradient(45deg, #FF6B6B, #FFD166); /* Vibrant Red-Orange to Yellow Gradient */
    color: #ffffff;
    padding: 18px 40px; /* Increased padding for visibility */
    border: none;
    border-radius: 50px; /* Very rounded edges */
    font-size: 1.3em; /* Larger font size */
    font-weight: 700; /* Bolder text */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4); /* More prominent shadow */
    text-transform: uppercase;
    letter-spacing: 1px; /* Increased letter spacing */
    display: inline-block; /* Ensures padding and margin work correctly */
    margin-top: 10px; /* Add some space above the button */
}

.elhoecare-button:hover {
    background: linear-gradient(45deg, #FFD166, #FF6B6B); /* Reverse gradient on hover */
    transform: translateY(-3px); /* More pronounced lift effect */
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6); /* Even larger shadow on hover */
}

.elhoecare-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.elhoecare-message {
    margin-top: 30px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

.elhoecare-message-success {
    background-color: #e6ffe6; /* Light green */
    border: 1px solid #4CAF50; /* Green border */
    color: #2e8b57; /* Darker green text */
}

.elhoecare-message-error {
    background-color: #ffe6e6; /* Light red */
    border: 1px solid #f44336; /* Red border */
    color: #cc0000; /* Darker red text */
}

/* New styles for product info */
.elhoecare-product-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: center;
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.05);
}

.elhoecare-product-info h4 {
    font-size: 1.5em;
    color: #34495e;
    margin-bottom: 15px;
}

.elhoecare-product-image {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.elhoecare-product-name {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 0;
}

.elhoecare-product-name a {
    color: #6a0dad; /* Link color matching the theme */
    text-decoration: none;
    transition: color 0.3s ease;
}

.elhoecare-product-name a:hover {
    color: #8a2be2;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .elhoecare-authenticity-checker-wrapper {
        margin: 20px 15px;
        padding: 20px;
    }

    .elhoecare-checker-title {
        font-size: 1.8em;
    }

    .elhoecare-checker-description {
        font-size: 1em;
    }

    .elhoecare-input {
        font-size: 1em;
        padding: 12px 20px;
    }

    .elhoecare-button {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}
