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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #2c3e50;
}

.header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
}

.column-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.column-right {
    flex: 2;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.image-container {
    background: white;
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.thumbnail {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.thumbnail:hover {
    opacity: 0.85;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #34495e;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .column-right {
        margin-top: 2rem;
    }
    
    .header {
        font-size: 1.5rem;
        padding: 1rem;
    }
}

select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    color: #2c3e50;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    appearance: none; /* Remove default arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%233498db' d='M2 0L0 2h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: linear-gradient(135deg, #f0f4f8, #d6e6f2);
}

select:hover {
    background: linear-gradient(135deg, #d6e6f2, #bdc3c7);
}

.api-usage table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.api-usage table th,
.api-usage table td {
    border: 1px solid #d1d1d1;
    padding: 0.5rem;
    text-align: left;
}

.api-usage table th {
    background-color: #f2f2f2;
    color: #34495e;
    font-weight: bold;
}

.api-usage table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.api-usage table tbody tr:hover {
    background-color: #eaf2f8;
}

.model-notes table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.model-notes table th,
.model-notes table td {
    border: 1px solid #d1d1d1;
    padding: 0.5rem;
    text-align: left;
}

.model-notes table th {
    background-color: #f2f2f2;
    color: #34495e;
    font-weight: bold;
}

.model-notes table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.model-notes table tbody tr:hover {
    background-color: #eaf2f8;
}

.form-container {
    background: #ffffff;
    border: 1px solid #d1d1d1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #34495e;
    margin-bottom: 1rem;
    text-align: center;
    background: #f2f2f2;
    padding: 0.75rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-description {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    line-height: 1.4;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
