﻿/* 1. The Button Style */

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
     margin: 30px 0 0 auto;
    padding: 5px 8px;
    cursor: pointer;
    background: transparent;
    color: #333;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    border-color: var(--link-color);
    background-color: var(--link-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.contact-btn.hidden { display: none; }


/* 1. The Modal Overlay */
#formModal.modal {
  display: none; 
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* Max possible z-index to stay above LSU headers */
  z-index: 999999999 !important; 
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(3px); /* Optional: blurs the background for focus */
}

/* 2. The Popup Box */
.modal-content {
  background-color: #fff;
  position: fixed; /* Changed to fixed for better centering */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; 
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.8);
  overflow: hidden;
}

/* 3. The Header & Close Button */
.modal-header {
  height: 60px;
  background-color: #ffffff;
  display: flex;
  justify-content: flex-end; /* X goes to the right */
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid #eee;
}

.close-btn {
  font-family: Arial, sans-serif;
  font-size: 40px;
margin-left: -10px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  padding: 10px;
  /* Ensures the button itself is clickable */
  pointer-events: auto !important; 
}

.close-btn:hover {
  color: #d9534f; /* Turns red on hover */
}

/* 4. The Form (Iframe) */
.modal-content iframe {
  width: 100%;
  height: 550px;
  border: none;
  display: block;
}


@media (max-width: 768px) {

    .contact-btn {
        background-color: transparent;
        border-color: #475569;
        color: #DCDCDC ;
    }

    .contact-btn:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
}

