/* Broker Registry Page Styles */
.broker-registry-page {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

.broker-registry-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.broker-registry-header {
    text-align: center;
    margin-bottom: 2rem;
}

.broker-registry-title {
    font-size: 2.5rem;
    color: #1b4332;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.broker-registry-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Table Styles */
.broker-registry-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
}

.broker-registry-table th {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: white;
    padding: 1.2rem 0.8rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.broker-registry-table th:last-child {
    border-right: none;
}

.broker-registry-table td {
    padding: 1.2rem 0.8rem;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #f5f5f5;
    color: #333;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.broker-registry-table td:last-child {
    border-right: none;
}

/* Special styling for name and email columns */
.broker-registry-table td:first-child {
    text-align: left;
    font-weight: 500;
    min-width: 180px;
}

.broker-registry-table td:nth-child(2) {
    text-align: left;
    min-width: 220px;
}

/* Phone column styling */
.broker-registry-table td:nth-child(3) {
    min-width: 140px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* Decision and contract columns */
.broker-registry-table td:nth-child(4),
.broker-registry-table td:nth-child(6) {
    min-width: 120px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* Date columns */
.broker-registry-table td:nth-child(5),
.broker-registry-table td:nth-child(7) {
    min-width: 110px;
    font-weight: 500;
}

/* Add subtle alternating row colors */
.broker-registry-table tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.5);
}

.broker-registry-table tr:last-child td {
    border-bottom: none;
}

.broker-registry-table tbody tr:hover {
    background-color: rgba(27, 67, 50, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.broker-registry-table tbody tr {
    transition: all 0.2s ease;
}

/* Contact Information Styles */
.contact-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1b4332;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background: rgba(27, 67, 50, 0.05);
    font-size: 0.9rem;
}

.contact-info:hover {
    color: #2d6a4f;
    background: rgba(27, 67, 50, 0.1);
    transform: translateY(-1px);
}

.contact-info i {
    font-size: 1rem;
    min-width: 16px;
}

/* Download Button Styles */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.2);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.3);
    color: white;
    background: linear-gradient(135deg, #2d6a4f, #1b4332);
}

.download-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .broker-registry-container {
        max-width: 95%;
        padding: 1.5rem;
    }

    .broker-registry-table {
        font-size: 0.9rem;
    }

    .broker-registry-table th,
    .broker-registry-table td {
        padding: 1rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .broker-registry-container {
        padding: 1rem;
    }

    .broker-registry-title {
        font-size: 2rem;
    }

    .broker-registry-subtitle {
        font-size: 1rem;
    }

    /* Responsive Table */
    .broker-registry-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .broker-registry-table th,
    .broker-registry-table td {
        white-space: nowrap;
        min-width: auto;
    }

    .broker-registry-table thead {
        display: none;
    }

    .broker-registry-table tbody {
        display: block;
        width: 100%;
    }

    .broker-registry-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 1rem;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .broker-registry-table td {
        display: block;
        text-align: left;
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }

    .broker-registry-table td:last-child {
        border-bottom: none;
    }

    .broker-registry-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1b4332;
        display: block;
        margin-bottom: 0.5rem;
    }

    .contact-info {
        justify-content: flex-start;
    }

    .download-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .broker-registry-page {
        padding: 1rem 0.5rem;
    }

    .broker-registry-container {
        padding: 1rem;
    }

    .broker-registry-title {
        font-size: 1.75rem;
    }

    .broker-registry-subtitle {
        font-size: 0.95rem;
    }

    .broker-registry-table td {
        font-size: 0.95rem;
    }
} 