.line-bottom {
  line-height: 1;
  border-bottom: 1px solid #e5e5e5;
}

.active {
	color:hsl(0,100%,50%);
}

.header-logo {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.header-logo:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.footer {
  padding: 2.5rem 0;
  color: #999;
  text-align: center;
  background-color: #FFFFFF;
  /*border-top: .05rem solid #e5e5e5;*/
}
.footer p:last-child {
  margin-bottom: 0;
}

/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: background-color 0.3s ease;
}

.custom-modal-dialog {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 30px auto;
    z-index: 10001;
    pointer-events: none;
    transform: scale(0.7) translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.custom-modal.show .custom-modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.custom-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 0.3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    pointer-events: auto;
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.custom-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.custom-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.custom-modal-close:hover {
    opacity: 0.75;
}

.custom-modal-body {
    padding: 1rem;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    gap: 0.5rem;
}

/* Prevent body scroll when modal is open */
body.custom-modal-open {
    overflow: hidden;
}

/* Mobile specific fixes */
@media (max-width: 576px) {
    .custom-modal-dialog {
        width: 95%;
        margin: 10px auto;
    }
    
    .custom-modal {
        padding: 0;
    }
}

.pro-search-header {
    background-color: #ffffff !important;
    color: #2d3748 !important;
    border-bottom: 3px solid #2c5282 !important;
    border-top: 1px solid #e2e8f0 !important;
}

.pro-search-header h5 {
    font-weight: 600;
    margin-bottom: 0;
}