:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --background-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #EBF4F6;
    min-height: 100vh;
    padding-bottom: 100px;
}

.navbar-logo {
    height: 45px;
    width: auto;
    border-radius: 0;
    margin-left: 10px;
    margin-right: 50px;
    margin: 5px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.form-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-image: linear-gradient(to right, #007bff, #0056b3);
    border: none;
}

.btn-primary:hover {
    background-image: linear-gradient(to right, #0056b3, #003d80);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#preview-image-container img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

#spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.template-image-container {
    position: relative;
}

#img {
    display: block;
    max-width: 100%;
    height: auto;
}

.position-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: red;
    pointer-events: none;
}

.form-section:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.form-control:hover {
    border-color: var(--primary-color);
}

.form-label {
    font-weight: 600;
}

.form-text {
    font-size: 0.85em;
    color: #6c757d;
}

.template-image-container:hover {
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .d-flex {
        flex-direction: column;
    }
    
    .col-6 {
        width: 100%;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.form-section {
    animation: 0.5s ease-out 0s 1 slideInFromLeft;
}
.custom-navbar {
    background-color: #071952;
}

.template-image-container {
    position: relative;
    display: inline-block;
    border: 2px dashed #ccc;
    margin: 0 auto;
    background-color: white;
}

.position-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.marker-label {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.marker-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: white;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}
