﻿/* Global Agent Portal Styles */

/* Form Label Consistency - Smaller Font Size */
.form-label {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #495057 !important;
    margin-bottom: 0.5rem !important;
}

/* Form Control Consistency */
.form-control,
.form-select {
    font-size: 0.875rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #00A6FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 255, 0.25);
}

/* Button Consistency */
.btn-lodgenda {
    background-color: #00A6FF;
    border-color: #00A6FF;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-lodgenda:hover,
.btn-lodgenda:focus {
    background-color: #0088cc;
    border-color: #0088cc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 166, 255, 0.3);
}

.btn-lodgenda-outline {
    border-color: #00A6FF;
    color: #00A6FF;
    background-color: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-lodgenda-outline:hover,
.btn-lodgenda-outline:focus {
    background-color: #00A6FF;
    border-color: #00A6FF;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 166, 255, 0.3);
}

/* Card Consistency */
.card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

/* Table Consistency */
.table th {
    border-top: none;
    font-weight: 600;
    color: #6c757d;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem;
}

.table td {
    vertical-align: middle;
    font-size: 0.875rem;
    padding: 0.75rem;
}

/* Badge Consistency */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

/* Alert Consistency */
.alert {
    border-radius: 8px;
    border: none;
    font-size: 0.875rem;
}

.alert-heading {
    font-size: 1rem;
    font-weight: 600;
}

/* Input Group Consistency */
.input-group-text {
    font-size: 0.875rem;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Modal Consistency */
.modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
}

.modal-body {
    padding: 1.25rem;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
}

/* Pagination Consistency */
.pagination .page-link {
    font-size: 0.875rem;
    border: none;
    color: #6c757d;
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background-color: #f3f4f6;
    color: #00A6FF;
}

.pagination .page-item.active .page-link {
    background-color: #00A6FF;
    border-color: #00A6FF;
    color: white;
}

/* Text Size Consistency */
.small {
    font-size: 0.8125rem !important;
}

h1, .h1 {
    font-size: 1.75rem;
    font-weight: 600;
}

h2, .h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

h3, .h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .form-label {
        font-size: 0.8125rem !important;
    }
    
    .form-control,
    .form-select {
        font-size: 0.8125rem;
    }
    
    .btn {
        font-size: 0.8125rem;
    }
    
    h1, .h1 {
        font-size: 1.5rem;
    }
    
    h2, .h2 {
        font-size: 1.25rem;
    }
    
    h3, .h3 {
        font-size: 1.125rem;
    }
    
    h4, .h4 {
        font-size: 1rem;
    }
}

/* ===== COMPACT TAB STYLING ===== */

:root {
    --primary-blue: #00A6FF;
    --light-blue: #80D3FF;
    --dark-blue: #0077B3;
    --primary-rgb: 0, 166, 255;
    --light-blue-rgb: 128, 211, 255;
}

/* Compact Tab Design */
.compact-nav-pills {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 2px;
}

.compact-nav-pills .nav-item {
    flex: 1;
}

.compact-nav-pills .nav-link {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    min-height: 36px;
}

.compact-nav-pills .nav-link:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.compact-nav-pills .nav-link.active {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.3);
}

.compact-nav-pills .nav-link i {
    font-size: 0.75rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .compact-nav-pills {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 4px 4px 4px 8px;
        gap: 1px;
    }

    .compact-nav-pills::-webkit-scrollbar {
        display: none;
    }

    .compact-nav-pills .nav-item {
        flex-shrink: 0;
        min-width: auto;
    }

    .compact-nav-pills .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        min-height: 30px;
        flex-direction: column;
        gap: 0.2rem;
        min-width: 60px;
        text-align: center;
    }

    .compact-nav-pills .nav-link i {
        font-size: 0.7rem;
        margin: 0;
    }

    .compact-nav-pills .nav-link span {
        font-size: 0.6rem;
        line-height: 1;
        font-weight: 500;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .compact-nav-pills .nav-link {
        font-size: 0.65rem;
        padding: 0.25rem 0.35rem;
        min-height: 28px;
        min-width: 50px;
    }

    .compact-nav-pills .nav-link i {
        font-size: 0.65rem;
    }

    .compact-nav-pills .nav-link span {
        font-size: 0.55rem;
    }
}

/* Property ID Badge Styling */
.property-id-badge .badge {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.property-id-badge code {
    background: none !important;
    padding: 0;
    font-size: inherit;
    font-weight: bold;
    letter-spacing: 0.5px;
}
