/**
 * Settings page styles
 *
 * @package HazelHarlow
 */

/* Import Libre Baskerville font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* Apply font family to all elements */
body, h1, h2, h3, h4, h5, h6, p, input, button, select, textarea {
    font-family: 'Libre Baskerville', serif;
}

.hazel-harlow-settings-wrap {
    background-color: #f8f8f5;
    /* padding: 20px; */
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

/* Background images */
.hazel-harlow-settings-wrap:before, 
.hazel-harlow-settings-wrap:after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.6;
    z-index: 0;
}

.hazel-harlow-settings-wrap:before {
    top: 20px;
    left: 20px;
    background-image: url('../images/HH_Background.svg');
    background-position: top left;
}

.hazel-harlow-settings-wrap:after {
    bottom: 20px;
    right: 20px;
    background-image: url('../images/HH_Background.svg');
    background-position: bottom right;
}

.hazel-harlow-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* max-width: 800px; */
    margin: 20px;
    position: relative;
    z-index: 1;
}

.hazel-harlow-logo {
    margin-bottom: 20px;
    text-align: center;
}

.hazel-harlow-logo svg {
    max-width: 180px;
    height: auto;
}

.hazel-harlow-back {
    display: block;
    text-align: left;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    font-family: 'Libre Baskerville', serif;
}

.hazel-harlow-btn-submit {
    background-color: black;
    color: white;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Libre Baskerville', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hazel-harlow-btn-submit:hover {
    background-color: #333;
}

.hazel-harlow-form-group {
    margin-bottom: 20px;
}

.hazel-harlow-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Libre Baskerville', serif;
}

.hazel-harlow-img {
    max-width: 100px;
    height: auto;
    margin: 15px 0;
}

/* Settings page specific typography */
.h4 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

p {
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Background image positioning */
.hazel-harlow-bg-top-left,
.hazel-harlow-bg-bottom-right {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.hazel-harlow-bg-top-left {
    top: 0;
    left: 0;
    max-width: 30%;
    opacity: 0.7;
}

.hazel-harlow-bg-bottom-right {
    bottom: 0;
    right: 0;
    max-width: 30%;
    opacity: 0.7;
}

/* Add the CSS from the settings page */
.hazel-harlow-input-group {
    display: flex;
    align-items: center;
    position: relative;
}

.hazel-harlow-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #555;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hazel-harlow-btn:hover {
    color: #b19044;
}
