/* Firoza Exclusive Access - Frontend Styles */

.firoza-exclusive-container {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.firoza-exclusive-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.firoza-exclusive-wrapper h2 {
    color: #333;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.firoza-exclusive-wrapper p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Form Styles */
.firoza-verify-form {
    margin: 30px 0;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.form-group input::placeholder {
    color: #ccc;
    letter-spacing: 2px;
}

.form-group small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 6px;
}

/* Button Styles */
.btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #0073aa;
    color: white;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background-color: #005a87;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #666;
    color: white;
    margin-top: 20px;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Alert Messages */
.alert {
    padding: 14px;
    border-radius: 6px;
    margin: 20px 0;
    display: none;
    animation: slideDown 0.3s ease;
}

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

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #dc3545;
}

/* Exclusive Products Display */
.firoza-exclusive-products {
    padding: 40px 20px;
}

.firoza-exclusive-products h2 {
    color: #333;
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
}

.welcome-message {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.product-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-item h3 {
    color: #333;
    font-size: 16px;
    padding: 15px;
    margin: 0;
    font-weight: 600;
}

.product-item .price {
    color: #0073aa;
    font-size: 14px;
    padding: 0 15px;
    font-weight: 600;
}

.product-item .button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 10px 15px 15px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.product-item .button:hover {
    background-color: #005a87;
}

.no-products {
    text-align: center;
    color: #999;
    padding: 40px;
    font-size: 16px;
}

#logout-form {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .firoza-exclusive-wrapper {
        padding: 30px;
    }

    .firoza-exclusive-wrapper h2 {
        font-size: 24px;
    }

    .form-group input {
        padding: 12px;
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .product-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .firoza-exclusive-container {
        padding: 20px 10px;
    }

    .firoza-exclusive-wrapper {
        padding: 20px;
    }

    .firoza-exclusive-wrapper h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .firoza-exclusive-wrapper p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .product-item img {
        height: 150px;
    }

    .product-item h3 {
        font-size: 14px;
        padding: 10px;
    }
}
