/*!
Theme Name: InterPet
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: interpet
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

InterPet is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
    --text-color: #333333;
    --bg-color: #f9f6ef;
    --req-text-color: #FFFFFF;
    --req-bg-color: #b32221;
    --form-bg-color: #FFFFFF;
    --border-color: #ccc;
    --primary-color: #d4a373; /* Accent color matching the warm theme */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: transparent;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    font-size: 24px;
}

.form-group {
    margin-bottom: 25px;
    background: var(--form-bg-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.required-badge {
    display: inline-block;
    background-color: var(--req-bg-color);
    color: var(--req-text-color);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--form-bg-color);
    box-sizing: border-box;
    font-size: 16px;
    color: var(--text-color);
}

input[type="file"] {
    width: 100%;
    padding: 10px 0;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.note {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    display: block;
}

.privacy-policy {
    background-color: var(--form-bg-color);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    height: 150px;
    overflow-y: scroll;
    margin-bottom: 15px;
    font-size: 14px;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.btn-container {
    text-align: center;
    margin-top: 40px;
}

.btn-container2 {
    text-align: left;
    margin-top: 40px;
}

.btn-container3 {
    text-align: center;
    margin-top: 10px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--req-bg-color); /* Using the strong red as primary action */
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn2 {
    display: inline-block;
    padding: 10px 30px;
    background-color: #666666; /* Using the strong red as primary action */
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #8a1a19;
}

.btn-secondary {
    background-color: #999;
    margin-right: 15px;
}

.btn-secondary:hover {
    background-color: #777;
}

/* Error/Confirmation styles */
.message-box {
    background: var(--form-bg-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.confirm-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.confirm-label {
    width: 30%;
    font-weight: bold;
    color: #555;
}

.confirm-value {
    width: 70%;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
        margin: 10px auto;
    }
    
    .confirm-row {
        flex-direction: column;
    }
    
    .confirm-label, .confirm-value {
        width: 100%;
    }
    
    .confirm-label {
        margin-bottom: 5px;
    }
    
    h1 {
        font-size: 20px;
    }
}
