:root {
    --primary-green: #4CAF50;
    --hover-green: #45a049;
    --hover-green-darker: #409244;
    --white: #ffffff;
    --gray: #f5f5f5;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    padding: 0 0;
}

.header h1 {
    font-size: 2.9rem;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7),
                 -1px -1px 2px rgba(0, 0, 0, 0.7);
}

.header h2 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: normal;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 700px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7),
                 -1px -1px 2px rgba(0, 0, 0, 0.7);
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-section {
    margin-bottom: 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
}

h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.95rem;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 2.3rem 0;
}

.btn-green {
    background-color: var(--primary-green);
    color: white;
    border: 2px solid transparent;
    padding: 20.3px 40.6px;
    border-radius: 13px;
    cursor: pointer;
    font-size: 1.36rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-width: 254px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-green:hover {
    background-color: var(--hover-green-darker);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    
}

.question-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease-in-out;
    text-align: center;
}

.hidden {
    display: none;
}

/* Loading animation */
.loader {
    border: 4px solid var(--gray);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Define fadeInUp animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#loadingScreen {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 2rem;
}

#results {
    text-align: left;
    padding: 0.5rem;
    background: var(--gray);
    border-radius: 8px;
    margin-top: 2rem;
    width: 100%;
}

.analysis-result {
    padding: 0;
}

.analysis-result h4 {
    margin: 1rem 0 0.5rem 0;
    color: #333;
    padding: 0 0.5rem;
}

.analysis-result p {
    margin-bottom: 1rem;
    line-height: 1.5;
    padding: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #results {
        padding: 0.25rem;
        margin-top: 1rem;
    }

    .analysis-result h4 {
        padding: 0 0.25rem;
    }

    .analysis-result p {
        padding: 0 0.25rem;
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header h2 {
        font-size: 1.2rem;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .btn-green {
        width: 100%;
    }

    .logo {
        max-width: 150px;
    }
}

.stars-section {
    margin: 3rem 0;
    text-align: center;
}

.stars {
    max-width: 150px;
    height: auto;
}

.footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0 1rem;
    max-width: 800px;
}

.disclaimer {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.separator {
    margin: 0 0.8rem;
    color: var(--white);
}

/* Update responsive design for new elements */
@media (max-width: 600px) {
    .stars {
        max-width: 150px;
    }

    .footer {
        margin-top: 1.5rem;
    }

    .disclaimer {
        font-size: 0.8rem;
    }

    .footer-links {
        font-size: 0.75rem;
    }

    .separator {
        margin: 0 0.4rem;
    }
}

.progress-container {
    padding: 0px 20px 10px 20px;
    border-bottom: 1px solid #eee;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--primary-green);
    transition: width 0.5s ease-in-out;
}

.progress-text {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}

.progress-percentage {
    font-weight: bold;
    color: var(--primary-green);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 0 20px;
    margin-top: 20px;
}

.btn-back {
    background-color: transparent;
    color: #666;
    border: 2px solid;
    border-color: #dadada;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-back:hover {
    background-color: var(--primary-green);
    color: white;
}

.btn-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
}

.btn-back:disabled:hover {
    background-color: transparent;
    color: #666;
}

.breed-select-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.breed-input {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

.breed-input:focus {
    border-color: #45a049;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.breed-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.breed-suggestion {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.breed-suggestion:hover {
    background-color: #f5f5f5;
    color: #4CAF50;
}

.submit-custom-breed {
    padding: 10px;
    border-top: 1px solid #eee;
    text-align: center;
}

.submit-custom-breed .btn-green {
    width: 100%;
    margin: 0;
    font-size: 0.9em;
    padding: 8px 15px;
}

/* Consultation Offer Styles */
.consultation-offer {
    text-align: center;
  /*  padding: 1rem;*/
}

.price-box {
    background: #edf9ff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
    max-width: 600px;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.price {
    text-align: center;
}

.price .original-price-container {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: -10px;
}

.price .original-price-label {
    color: #ff0000;
}

.price .original-price {
    color: #ff0000;
    text-decoration: line-through;
}

.price-image {
    display: flex;
    align-items: center;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: bold;
    color: #333;
}

.price .period {
    display: block;
    color: #666;
    font-size: 1.1rem;
    margin-top: -0.5rem;
}

.features {
    margin: 2rem 0;
}

.features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.features li {
    padding: 0.4rem 0;
    color: #444;
    font-size: 1.1rem;
}

.features li strong {
    color: var(--primary-green);
}

.guarantee {
    margin-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.guarantee p {
    margin: 0.5rem 0;
}

/* Upload Form Styles */
.upload-section {
    padding: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input[readonly],
.form-group textarea[readonly] {
    background-color: #f5f5f5;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary-green);
}

.upload-message {
    color: #666;
    margin-top: 1rem;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.remove-photo {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 600px) {
    .price-box {
        padding: 1rem;
    }

    .price .amount {
        font-size: 2.5rem;
    }

    .features li {
        font-size: 1rem;
    }
} 