/**
 * CSS styles for the public-facing side of the plugin.
 *
 * @since      1.0.0
 * @package    Catalog_Request_Approval
 */

.catalog-request-link {
    margin-bottom: 20px;
}

.catalog-request-form-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.catalog-request-form-loading {
    text-align: center;
    padding: 10px;
}

.catalog-request-form {
    margin-top: 10px;
}

.catalog-request-form .form-field {
    margin-bottom: 15px;
}

.catalog-request-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.catalog-request-form input[type="text"],
.catalog-request-form input[type="email"],
.catalog-request-form input[type="tel"],
.catalog-request-form input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.catalog-request-form button {
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.catalog-request-form button:hover {
    background-color: #005177;
}

.catalog-request-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.catalog-request-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.catalog-request-message .success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
    padding: 10px;
    border-radius: 4px;
}

.catalog-request-message .error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
    padding: 10px;
    border-radius: 4px;
}

.catalog-request-captcha-container {
    margin-bottom: 15px;
}

.catalog-request-captcha-field {
    display: flex;
    align-items: center;
}

.catalog-request-captcha-field input {
    width: 80px;
    margin-right: 10px;
}

.catalog-request-refresh-captcha {
    display: inline-block;
    margin-left: 10px;
    font-size: 18px;
    color: #0073aa;
    text-decoration: none;
}

.catalog-request-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.catalog-request-catalog-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background-color: #fff;
}

.catalog-request-catalog-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.catalog-request-catalog-item p {
    margin-bottom: 15px;
}

.catalog-request-catalog-item .thumbnail {
    margin-bottom: 10px;
}

.catalog-request-catalog-item .thumbnail img {
    max-width: 100%;
    height: auto;
}

/* Make sure the button is clearly clickable */
.catalog-request-trigger {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.catalog-request-trigger:hover {
    background-color: #005177;
}

/* Ensure the button stands out visually */
.catalog-request-trigger:before {
    content: "\f1c1"; /* PDF icon from Dashicons */
    font-family: dashicons;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
