/* JAAG Custom Styles */

/* BioF Logo - left aligned version */
.biof-logo-left {
    height: 6rem; /* Start with 2rem, adjust as needed */
    width: auto;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .biof-logo-left {
        height: 6rem;
    }
}

@media (max-width: 576px) {
    .biof-logo-left {
        height: 3rem;
    }
}

.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
}

.glycan-canvas {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    min-height: 300px;
    background-color: white;
}

.json-output {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.3;
    white-space: pre-wrap;
    max-height: 600px;
    overflow-y: auto;
}

.section-divider {
    margin: 2rem 0;
    border-top: 2px solid #dee2e6;
}

.form-section {
    margin-bottom: 1.5rem;
}

.dynamic-input-group {
    margin-bottom: 0.5rem;
}

.glycosylation-container .card {
    border-left: 4px solid #28a745;
}

.glycosylation-container .card-body {
    background-color: #f8fff9;
}

.sequon-container .card {
    border-left: 4px solid #2196f3;
}

.sequon-container .card-body {
    background-color: #f3f8ff;
}

/* Toast notification animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Toast container styles */
#toast-container {
    pointer-events: none;
}

#toast-container .alert {
    pointer-events: auto;
    transition: all 0.3s ease;
}

#toast-container .alert:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Lighter placeholder text for better contrast */
input::placeholder,
textarea::placeholder,
select::placeholder {
    color: #9ca3af !important;
    opacity: 0.7 !important;
}

/* Webkit browsers (Chrome, Safari, Edge) */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #9ca3af !important;
    opacity: 0.7 !important;
}

/* Mozilla Firefox */
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #9ca3af !important;
    opacity: 0.7 !important;
}

/* Microsoft Edge */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #9ca3af !important;
    opacity: 0.7 !important;
}

/* Prevent placeholder text from being transformed to uppercase */
input::placeholder,
textarea::placeholder {
    text-transform: none !important;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    text-transform: none !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    text-transform: none !important;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    text-transform: none !important;
}