.form-control {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.form-control input.error {
    border-color: #f44336;
}

.form-control input.success {
    border-color: #4CAF50;
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    position: absolute;
    bottom: -20px;
    left: 0;
}

#submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#submit-button:hover {
    background-color: #45a049;
}

#submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Autocomplete styles */
input[list] {
    background-color: white;
}

datalist {
    max-height: 200px;
    overflow-y: auto;
}

/* Loading indicator */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
} 