/* ========================================
   AMIN APP - BASE STYLES
   Bootstrap-based design system for consistency
   ======================================== */

/* Base Typography - Using Bootstrap defaults */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

/* Consistent form styling */
.form-control {
    border-radius: 0.5rem; /* rounded-3 equivalent */
    border: 1px solid #dee2e6;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Consistent button styling */
.btn {
    border-radius: 0.5rem; /* rounded-3 equivalent */
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

/* Consistent card styling */
.card {
    border-radius: 1rem; /* rounded-4 equivalent */
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Consistent alert styling */
.alert {
    border-radius: 0.5rem; /* rounded-3 equivalent */
    border: none;
}

/* Consistent spacing */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Feature icon containers */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem; /* rounded-4 equivalent */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}

/* Loading states for dropdowns */
select.loading {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 8 3 3 3-3m0-6-3 3-3-3'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
}
