/* Friends & Family Program Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
}

/* Custom container to ensure max-width if needed, or just use .container */
.friends-family-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.ff-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ff-logo {
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.ff-welcome {
    font-size: 1.8rem;
    font-weight: 700;
    color: #639B24;
    /* FreshPet Green */
    margin-bottom: 1rem;
}

/* Using Bootstrap Card for sections, but keeping this for specific spacing if needed */
.ff-section {
    margin-bottom: 2rem;
    border-top: 4px solid #F38B00;
    /* FreshPet Orange */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ff-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.btn-submit {
    background-color: #639B24;
    /* FreshPet Green */
    border-color: #639B24;
    font-weight: 700;
    padding: 1rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #4e7a1c;
    border-color: #4e7a1c;
}

/* Cropper Styles */
.img-container {
    max-width: 100%;
    max-height: 400px;
    margin-bottom: 1rem;
    background-color: #f0f0f0;
}

#imageToCrop {
    max-width: 100%;
}

.preview-container {
    overflow: hidden;
    width: 200px;
    height: 200px;
    border: 1px solid #ccc;
    margin-top: 1rem;
}

.custom-file-label::after {
    content: "Browse";
    background-color: #F38B00;
    /* FreshPet Orange */
    color: white;
}

/* API Error Warning Banner */
.alert-warning details summary {
    color: #856404;
    font-weight: bold;
    padding: 5px 0;
}

.alert-warning details summary:hover {
    text-decoration: underline;
}

.alert-warning code {
    background-color: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}