.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.with-dog-form .header h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}
.line-notice a {
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #00afff;
    margin: 2rem 1rem;
    text-align: center;
    background-color: #00afff;
    color: #fff;
    display: block;
    text-decoration: underline;
}


.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.form-container {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    height: 50px;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4facfe;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: #4a4a4a;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
    text-align: center;
}

.pet-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #adadad;
}

.pet-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group .checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: #f8f9fa;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
    width: 0.8rem;
}

.checkbox-item span {
    font-size: 14px;
    color: #333;
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
        --font-size-base-sm: 14px;
        --font-size-base-xs: 12px;
    }

    body {
padding: 1rem;
}
    .form-row {
        display: block;
    }
    
    .with-dog-form .header h2 {
        font-size: 1.3em;
    }
    
    .header p {
font-size: 12px;
}
h3{
font-size: var(--font-size-base);
}
.form-group label {
font-size: var(--font-size-sm);
font-weight: 400;
}
    .form-container {
        padding: 20px;
    }
    option {
color: #333;
}
}