
/* animal-test.css */

h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    color: #666;
    margin-bottom: 2rem;
}

.upload-label {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background-color: var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.upload-label:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.image-preview-container {
    margin-top: 2rem;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #ddd;
    border-radius: 10px;
    overflow: hidden;
}

#image-preview {
    max-width: 100%;
    max-height: 300px;
    display: none;
}

#label-container {
    margin-top: 2rem;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.result-label {
    width: 80px;
    text-align: right;
    font-weight: 700;
}

.progress-bar-container {
    flex-grow: 1;
    height: 25px;
    background-color: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: 15px;
    transition: width 0.5s ease-in-out;
    text-align: right;
    padding-right: 5px;
    color: white;
    box-sizing: border-box;
}

#analyze-btn {
    margin-top: 2rem;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

#analyze-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

#analyze-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}
