/* app/static/css/styles.css */
body {
    background-color: #f4f7fa;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}
.container-fluid {
    padding: 0 2rem;
}
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-3px);
}
.card-header {
    background: linear-gradient(135deg, #2c6e49 0%, #4a90e2 100%);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}
.btn-primary {
    background: linear-gradient(135deg, #2c6e49 0%, #4a90e2 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: opacity 0.3s;
}
.btn-primary:hover {
    opacity: 0.9;
}
.form-label {
    font-weight: 500;
    color: #2c6e49;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    font-size: 1rem;
}
.form-control:focus, .form-select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}
.prediction-result {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
canvas {
    max-width: 350px;
    margin: 2rem auto;
}
.prediction-message {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    color: #333;
}
.info-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background-color: #4a90e2;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}
.info-circle:hover {
    background-color: #2c6e49;
}
.invalid-feedback {
    font-size: 0.9rem;
    color: #e63946;
}
.main-h {
    font-size: 2rem;
    font-weight: 700;
    color: #2c6e49;
    margin-bottom: 1rem;
}
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}
.description-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0;
}
.row.g-4 {
    margin-top: 2rem;
}
.btn-primary.btn-primary-custom {
    background:linear-gradient(135deg, #d4494c 0%, #5c8edc 100%)
}
.author-me {
    text-align: right;
    margin-top: 2rem;
    font-style: italic;
}
.author-me a {
    font-size: 1rem;
    color: #d4494c;
}
@media (max-width: 767px) {
    .form-control, .form-select {
        font-size: 0.95rem;
    }
    .main-h {
        font-size: 2rem;
    }
    .card-title {
        font-size: 1.25rem;
    }
    canvas {
        max-width: 100%;
    }
}