/* Google Font import for Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Variables for colors */
:root {
    --neutral-gray-700: #2F2B4A;
    --neutral-gray-400: #828092;
    --kyc-purple: #67597A;
    --kyc-light-purple: #F8F6FB;
}

#uploadForm {
    font-family: 'Inter', sans-serif;
    width: 100%;
    max-width: 747px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    border-radius: 16px;
    background: var(--kyc-light-purple);
    backdrop-filter: blur(3px);
}

/* Common text styles */
.inter-text {
    font-family: 'Inter', sans-serif;
    color: var(--kyc-purple);
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 24px;
    color: var(--kyc-purple);
}

header p {
    font-size: 16px;
    color: var(--neutral-gray-400);
}

/* Drop Zone and File Info Styles */
#drop_zone,
#file-info {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-radius: 8px;
    border: 1px dashed #CBD0DC;
    background: #FFF;
}

.upload-contents {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Upload Instructions and Details */
.upload-icon, .tick-icon, .finish-icon {
    height: auto;
    max-width: 100%;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.file-sizing-info {
    display: flex;
    gap: 10px;
}

/* File Details Layout */
#file-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: var(--neutral-gray-400);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* File Size and Status */
#file-size, #complete-text {
    display: inline-block;
}

#file-name {
    color: var(--kyc-purple);
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.file-prompt {
    color: var(--kyc-purple);
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    margin-top: 0;
    margin-bottom: 4px;
}

.file-formats, .scan-status, .scan-tip {
    color: var(--neutral-gray-400);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 0;
}

.symmetry-result.overall {
    background: var(--kyc-light-purple);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.feature-analysis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.feature-result {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.2s;
}

.feature-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-result h4 {
    color: var(--kyc-purple);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
}

.feature-result p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.feature-result ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.feature-result ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.feature-result ul li:before {
    content: "•";
    color: var(--kyc-purple);
    position: absolute;
    left: 8px;
}

.symmetry-context {
    background: var(--kyc-light-purple);
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
}

/* Progress Bar Styles */
.progress-bar-container {
    width: 100%;
    border-radius: 50px;
    background: #F2F2F2;
    display: none;
}

.progress-bar {
    height: 10px;
    width: 0%;
    transition: width 0.5s linear;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--kyc-purple) 0%, #9181AB 100%);
}

/* Result Styles */
#result {
    margin-top: 20px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    color: var(--kyc-purple);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

#result h2 {
    color: var(--kyc-purple);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

#result a {
    color: var(--kyc-purple);
    text-decoration: none;
}

#result a:hover {
    text-decoration: underline;
}

.loading-icon svg {
    animation: spin 2s linear infinite;
}

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

/* Completion Message Layout */
#completion-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 40px;
    border-top: 1px dashed #CBD5E1;
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
}

.finish-icon {
    max-width: 24px;
    max-height: 24px;
}

.completion-texts {
    flex-grow: 1;
    padding-left: 16px;
}

/* Buttons */
#deleteButton {
    display: none !important;
}

.fs-btn {
    background-color: #fff;
    transition: 0.4s;
    display: inline-flex;
    padding: 12px 18px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 5px;
    border: 1px solid var(--kyc-purple);
    color: var(--kyc-purple);
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    cursor: pointer;
}

.fs-btn:hover {
    background-color: var(--kyc-light-purple);
}

#result .link-recommendation a {
    color: var(--kyc-purple);
    position: relative;
    text-decoration: underline;
    text-transform: capitalize;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 991px) {
    #uploadForm {
        max-width: 664px;
        padding: 16px;
    }
    #drop_zone, #file-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        margin-left: 0;
        margin-right: 0;
    }
    #uploadForm {
        max-width: calc(100vw - 40px);
    }
    #drop_zone, #file-info {
        flex-direction: column;
    }
    #completion-message {
        width: calc(100% + 48px);
        margin-left: -20px;
        margin-right: -20px;
        padding: 24px;
        flex-direction: column;
        gap: 8px;
    }
    .upload-contents {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        text-align: center;
    }
    .file-prompt {
        font-size: 14px;
        line-height: 21px;
    }
    .file-formats, .scan-status, .scan-tip {
        font-size: 12px;
        line-height: 18px;
    }
    .fs-btn {
        font-size: 12px;
        line-height: 18px;
        padding: 12px 18px;   
    }
}

/* Add to your style.css in the pet-breed-analyzer plugin */

/* Target the specific shortcode/page */
.breed-analyzer-results {
    padding-bottom: 300px !important;
    margin-bottom: 300px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Force parent containers to respect the content height */
[data-shortcode="dog-breed-analyzer"],
[data-shortcode="cat-breed-analyzer"] {
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
}

/* Ensure the results container stays above other content */
#result {
    position: relative !important;
    z-index: 2 !important;
}

/* Push down the reviews section specifically on these pages */
.breed-analyzer-results + #our-top-reviews {
    margin-top: 300px !important;
    position: relative !important;
    z-index: 0 !important;
}
@media (max-width: 768px) {
    .breed-analyzer-container {
        padding: 16px !important;
    }
    
    .breed-result-card {
        padding: 16px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
}