@import url('./global.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap');

:root {
    --bgcolor: #D9D9D9;
}

/* Base */
* { box-sizing: border-box; }

html, body { height: 100%; }

body {
margin: 0;
font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
color: var(--brand-text);
background: var(--bgcolor);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

body {
  font-style: normal;
  line-height: 1.5;
  font-weight: 400;
  color: #232323;
  position: relative;
  font-family:Montserrat,system-ui !important;  
}


.wideContainer {
    position: relative;
    max-width: 1200px;
    width: 1200px;
    margin: auto; 
}
@media (max-width: 1250px) {
    .wideContainer {
        width: 95%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .tab-content {
        padding: 0px !important;
        padding-top: 3rem !important;
    }
}

.container {
    position: relative;
    max-width: 900px;
    margin: auto;
}


.whiteContainer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(166, 60, 6, 0.1);
}

footer {
    background-color: var(--bgcolor);
    
    margin-top: 40px;
}

.container h2 {
    margin-top: 20px;
    margin-bottom: 20px;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

footer ul li a{
    margin: 0;
    font-size: 14px;
    text-decoration: none;
    color: black;

}

a {
    text-decoration: none;
}

a:hover {
    color: black;
    filter: brightness(1.2);
}



button{
    font-family: inherit;
    z-index: 100;
    user-select: none;
    background-color: var(--ui-primary-500);
    color: white;
    border-radius: var(--button-corner-radius);
    border: none;
    font-size: 0.875rem;
    font-weight: var(--u-i-button-headline-weight);
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--button-s-height);
    padding-left: calc(var(--element-padding) + 10px);
    padding-right: calc(var(--element-padding) + 10px);    
    transition: filter 0.2s ease;
    cursor: pointer;
    line-height: 12px;
}

button svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: white;;
}



button:hover{
    filter: brightness(1.2) !important;
}

button.secondary {
    background-color: var(--secondaryButtons);
    color: var(--secondaryButtonsTxtColor);
}



.navbar-section {
    background-color: var(--bgcolor);
}
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 0;    
    
}
.navbar-logo {
    display: flex;
    align-items: center;
}
.navbar-logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 1250px) {
    .navbar {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 1000px) {
    .remove-when-mobile {
        display: none;
    }
    
}

@media (max-width: 600px) {
    .navbar-actions {
        display: flex;
        padding-top: 20px;
        text-align: center;
        width: 100vw;
        justify-content: space-around;
    }
    
}

.subnavbar-container {
    margin-top: -30px;
}

.nav-link {
    background-color: var(--primaryButtons);
    color: white;
    display: inline-flex;
    height: 30px;
    padding: 10px;
    width: calc(100% - 10px);
    margin-right: 8px;
    font-size: 14px;    
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border: none !important;
    justify-content: left !important;
}

.nav-link.active {
    background-color: var(--bgcolor) !important;
    border: none !important;
    
}



.nav-link:hover {
    filter: brightness(1.2) !important;
    border: none;
    color: inherit;
}

.nav-tabs {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;    
    border-bottom: none;
}

.nav-item {
    width: 19%;
    margin-bottom: -0.5px;
}

.nav-item:nth-last-child(1),.nav-item:nth-last-child(2) {
    width: 11.5%;
    margin-bottom: -0.5px;
}



.mobile-nav-wrap {
  position: absolute;
  bottom: 17px;
  z-index: 20;
}

.mobile-nav-menu-container {
    position: absolute;
    top: calc(100% + 8px);
    background: white;
    padding: 8px;
    border-radius: 6px;
    width: 80vw;
}

.mobile-nav-menu-container button {
    width: 100%;
    text-align: left;
    margin-bottom: 6px;
}

.hero {
    position: relative;
    background-color: black;
    height: 250px;
    padding-top: 20px;    
    color: white;
    background-image: url(/img/falcon-play-dark-03.png);
    background-size: cover;
}


.loginhero {
    height: auto;
    min-height: 100vh;
    color: black;
}

.loginhero button {
    width: 100%;
    text-align: center;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    width: 100%;
}    

  .tab-content {
    position: relative;
    background: var(--bgcolor); 
    margin-top: -1px; 
    padding: 3rem 2rem;
    margin-left: auto; 
    margin-right: auto;
  }

  .error-message { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error-color); padding: .75rem 1rem; border-radius: 8px; font-weight: 500; margin-bottom: 1rem; }
  .forgot-link { color: var(--brand-primary); font-weight: 500; }
  .forgot-link:hover { text-decoration: underline; }

  /* Login page small helpers */
  .brand-icon { width: 60px; height: 60px; background: var(--brand-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
  .brand-icon svg { width: 30px; height: 30px; fill: #fff; }
  .or-divider { position: relative; text-align: center; overflow: hidden; }
  .or-divider::before, .or-divider::after { content: ""; position: absolute; top: 50%; width: 45%; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-border), transparent); }
  .or-divider::before { left: 0; }
  .or-divider::after { right: 0; }
  .or-divider span { padding: 0 1.5rem; color: var(--brand-text-muted); font-weight: 500; font-size: .875rem; text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 1; }


  .status-pill { display: flex; margin-top: 10px; justify-content: space-between; align-items: center; gap: 1rem;padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; }
  .status-pill .status-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
  .status-pill .status-text { font-weight: 700; font-size: 1.125rem; }
  .status-pill.is-active { background: #d4edda; color: var(--ui-green-700); }
  .status-pill.is-active .status-dot { background: var(--ui-green-600); box-shadow: 0 0 0 4px rgba(0, 185, 98, 0.2); }
  .status-pill.is-free { background: var(--grayscale-gray-100); color: var(--grayscale-gray-600); }
  .status-pill.is-free .status-dot { background: var(--grayscale-gray-400); box-shadow: 0 0 0 4px rgba(0,0,0,.06); }

  .renew-box { padding: 1.25rem; border-radius: 12px; text-align: left; border-left: 4px solid var(--brand-border); background: var(--brand-light-bg); }
  .renew-box .renew-kicker { color: var(--brand-text-muted); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .4rem; }
  .renew-box .renew-date { color: var(--brand-text); font-size: 1.25rem; font-weight: 700; margin: 0 0 .1rem; }
  .renew-box .renew-timeleft { font-size: .875rem; font-weight: 700; }
  .renew-box.is-ok { border-left-color: var(--grayscale-gray-400); }
  .renew-box.is-warning { border-left-color: var(--ui-yellow-600); background: #fff9db; }
  .renew-box.is-warning .renew-timeleft { color: var(--ui-yellow-600); }
  .renew-box.is-danger { border-left-color: var(--ui-alert-500); background: var(--error-bg); }
  .renew-box.is-danger .renew-timeleft { color: var(--ui-alert-500); }

  .upgrade-card { margin-top: 3rem; background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%); padding: 2rem; border-radius: 16px; text-align: center; border-left: 4px solid var(--ui-orange-600); }
  .upgrade-card h2 { margin-bottom: .5rem; color: var(--ui-orange-600); font-weight: 700; }
  .upgrade-card p { color: var(--brand-text-muted); margin: 0; }

  /* Utilities */
  .hidden { display: none !important; }



  /* Plan list */

  .fr-wrap{margin:auto;}
  .fr-matrix{margin-top:22px;overflow-x:auto;padding-bottom:8px}
  .fr-table{border-collapse:separate;border-spacing:0;width:100%;min-width:880px;background:var(--panel);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,.08)}
  .fr-thead th{position:sticky;text-align:center;top:0;background:#f1f3f6;border-bottom:1px solid #dee2e6;z-index:2;color:#222; width: 15%;}
  .fr-th,.fr-td{padding:16px 14px;text-align:left;vertical-align:middle}
  .fr-thead th:first-child{border-top-left-radius:var(--radius)}
  .fr-thead th:last-child{border-top-right-radius:var(--radius)}
  .fr-tbody tr:not(:last-child) td{border-bottom:1px solid #e9ecef}
  .fr-plan,.fr-rowhead{position:sticky;left:0;background:linear-gradient(90deg,#fff 0%,#fff 70%,#fff0 100%);z-index:1}
  
  /* Perfect alignment for plan columns */
  .fr-plan{min-width:150px;text-align:center}
  .fr-plan-content{display:flex;flex-direction:column; justify-content:space-between}
  .fr-name-section{min-height:50px;display:flex;align-items:center;justify-content:center;padding:8px}
  .fr-badge-section{min-height:32px;display:flex;align-items:center;justify-content:center}
  .fr-price-section{min-height:75px;display:flex;align-items:center;justify-content:center;padding:8px}
  .fr-button-section{min-height:60px;display:flex;align-items:center;justify-content:center;padding:8px}
  
  .fr-planName{font-weight:700;line-height:1.2}
  .fr-badge{display:inline-block;font-size:.72rem;padding:.2rem .5rem;border:1px solid #e9ecef;border-radius:999px;color:#007bff;opacity:.85;background:#eaf4ff}
  .fr-badge.current{display:inline-block;border-color:#007bff;background:#007bff;color:#fff;font-weight:600}
  .fr-badge.pop{display:inline-block;border-color:var(--brand);box-shadow:0 0 0 3px var(--ring);background:#dfffe8;color:#00b894;font-weight:600}
  
  .fr-price{font-size:1.05rem;font-weight:600;color:#47A23A;line-height:1.4}
  .fr-sub{color:var(--muted);font-weight:500;margin-top:2px}
  .fr-center{text-align:center}

  .fr-icon{width:22px;height:22px;flex:0 0 22px;display:inline-block;vertical-align:-4px;border-radius:50%;padding:3px}
  .fr-yes{padding-top: 4.5px; color:#2d5f2f;background-color:#d4edda;border:1px solid #c3e6cb} 
  .fr-no{padding-left: 4.5px; color:#842029;background-color:#f8d7da;border:1px solid #f5c2c7}
  .fr-no path{stroke-width:0.5;stroke:currentColor}
  .flexhead{display:flex;gap:10px;justify-content:space-between}

  .fr-btnWrap {width:100% }
  .fr-btn{ width: 100%; height: 40px;}
  
  /* Enterprise Modal Styles */
  .enterprise-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
  }
  .enterprise-modal.show {
    display: block;
  }
  .enterprise-modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
  }
  .enterprise-modal-header {
    background: linear-gradient(135deg, #A63C06, #d4541e);
    color: white;
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    text-align: center;
  }
  .enterprise-modal-body {
    padding: 2rem;
  }
  .enterprise-feature-list {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
  }
  .enterprise-feature-list h4 {
    color: #A63C06;
    margin-bottom: 1rem;
  }
  .enterprise-feature-list ul {
    margin: 0;
    padding-left: 1.2rem;
  }
  .enterprise-feature-list li {
    margin-bottom: 0.5rem;
    color: #333;
  }
  .enterprise-form-group {
    margin-bottom: 1.5rem;
  }
  .enterprise-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
  }
  .enterprise-form-group input,
  .enterprise-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
  }
  .enterprise-form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
  .enterprise-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
  .enterprise-close:hover {
    color: white;
  }
  .enterprise-btn {
    background: #A63C06;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
  }
  .enterprise-btn:hover {
    background: #8a3305;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 60, 6, 0.3);
  }
  .enterprise-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  @media (max-width:860px){.fr-table{min-width:720px}}




  /* User information */

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(166, 60, 6, 0.1);
}
.info-item:last-child {
    border-bottom: none;
}
.info-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}
.info-value {
    color: #2c3e50;
    font-weight: 500;
}

.edit-form-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(166, 60, 6, 0.1);
}
.form-group-modern {
    margin-bottom: 1.5rem;
}
.form-group-modern label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}
.form-group-modern input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}
.form-group-modern input:focus,
.form-group-modern select:focus {
    border-color: #A63C06;
    box-shadow: 0 0 0 3px rgba(166, 60, 6, 0.1);
    background: #fff;
    outline: none;
}
.form-group-modern select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}


.terms-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(166, 60, 6, 0.1);
}
.radio-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}
.radio-group label {
    margin-right: 0.25rem;
    margin-bottom: 0;
    font-weight: 500;
}
.radio-group input[type="radio"] {
    margin-right: 0.5rem;
    width: auto;
}
.password-toggle-container {
    position: relative;
}
.password-toggle-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
    fill: #6c757d;
    transition: fill 0.2s ease;
}
.password-toggle-icon:hover {
    fill: #A63C06;
}
.icon-eyeslash {
    display: none;
}
.createuser_error {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    display: none;
}

.createuser-form-group {
    margin-bottom: 1.5rem;
}

.createuser-form-group label {
    padding-bottom: 0.5rem;
}