:root {
    --primary-color: #000;
    --secondary-color: #000;
    --card-hover-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
}

body {
    font-family: fontpadrao;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.selection-screen {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-card {
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.selection-card[data-type="centro-comercial"]:hover {
    border-color: var(--primary-color);
}

.selection-card[data-type="cidade-alta"]:hover {
    border-color: var(--secondary-color);
}

.location-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    height: 100%;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.location-card .card-body {
    padding: 1.5rem;
}

.address-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    border-left: 4px solid var(--primary-color);
}

.address-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.address-card .card-body {
    padding: 1.25rem;
}

.bairro-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    border-left: 4px solid var(--primary-color);
    height: 100%;
}

.bairro-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.bairro-card .card-body {
    padding: 1.5rem;
}

.tax-value-display {
    margin-top: 1rem;
}

.badge-lg {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.cliente-result-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    border-left: 4px solid var(--primary-color);
}

.cliente-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.cliente-result-card .card-body {
    padding: 1.25rem;
}

.address-info {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.address-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.address-details h5 {
    margin-bottom: 0.5rem;
    color: #212529;
}

.address-details p {
    margin-bottom: 0.25rem;
    color: #6c757d;
}

.badge-custom {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--primary-color);
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Search input styling */
#address-search {
    border-radius: 8px;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .selection-card .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .selection-card .display-1 {
        font-size: 3rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    header p {
        font-size: 0.9rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .selection-card .card-body {
        padding: 1.5rem 1rem !important;
    }
    
    .address-card .card-body {
        padding: 1rem;
    }
    
    .address-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Loading state */
.loading {
    text-align: center;
    padding: 3rem;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}



/*new configuration styles*/
@font-face {
  font-family: fontpadrao; /* set name */
  src: url(../../fonts/montserrat/Montserrat-ExtraLight.otf);
}
#header{
    background-color: #02a3ba;
    font-family: fontpadrao;
}
.addBtn{
    border: #000 2px solid;
    color: #000;
}
.addBtn:hover{
    background-color: #000;
    color: #fff;
}

/* Login administrativo */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #015f6e 0%, #02a3ba 45%, #0284a8 100%);
    position: relative;
    overflow: hidden;
}

.login-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    animation: fadeIn 0.6s ease;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.login-card-header {
    background: linear-gradient(180deg, #f8fdfe 0%, #ffffff 100%);
    padding: 2rem 2rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid #eef2f4;
}

.login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #02a3ba, #0284a8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 24px rgba(2, 163, 186, 0.35);
}

.login-card-header h1 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.login-card-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.login-card-body {
    padding: 1.75rem 2rem 1.5rem;
}

.login-alert {
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.login-form .login-field {
    margin-bottom: 1rem;
}

.login-form .form-control {
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    min-height: 58px;
    padding-top: 1.25rem;
}

.login-form .form-control:focus {
    border-color: #02a3ba;
    box-shadow: 0 0 0 0.2rem rgba(2, 163, 186, 0.18);
}

.login-form label {
    color: #6b7280;
}

.login-password-field {
    position: relative;
}

.login-toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9ca3af;
    padding: 0.25rem 0.5rem;
    z-index: 5;
}

.login-toggle-password:hover {
    color: #02a3ba;
}

.login-submit {
    margin-top: 0.5rem;
    min-height: 52px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #02a3ba, #0284a8);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit:hover:not(:disabled) {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(2, 163, 186, 0.35);
}

.login-submit:disabled {
    opacity: 0.65;
}

.login-card-footer {
    padding: 1rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: #fafbfc;
    border-top: 1px solid #eef2f4;
}

.login-back-link {
    color: #02a3ba;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.login-back-link:hover {
    color: #015f6e;
}

.login-security-note {
    color: #9ca3af;
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .login-card-header,
    .login-card-body,
    .login-card-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}