html {
  font-size: 14px;
}
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity:1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Lora', serif;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.heartbeat {
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
    animation: heartbeat 1.5s ease-in-out infinite both;
}
/* ----------------------------------------------
 * Generated by Animista on 2026-3-10 21:45:45
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

@keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}
/**
    Sports part
 */
.sport-logo:hover{
    animation: heartbeat 1.5s ease-in-out both;
}
.sports-container{
    display: grid;
    grid-template-columns: repeat(3, 220px);
    justify-content: center;
    gap:40px 80px;
  
    margin: 60px auto;
}
.sports-card {

    text-align: center;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    animation: fadeSlideUp 0.5s ease forwards;
}
.sports-card:hover{
    transform: translateY(-10px) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.012);
    text-decoration: none;
}
.sport-logo{
    width: 120px;
    height: 120px;
object-fit: cover;
border-radius: 100%;
display:block;
margin: 0 auto 18px auto;

}
.sport-name{
    font-size: 20px;
    font-weight: 600;
    color: #0F172A;
    margin-top: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    text-align:center;
    
}
.sport-text{
    font-size:14px;
    color: #64748B;
    text-decoration: none;
  text-align:center;
}
.sport-logo:hover{
    transform: scale(1.08);
    cursor:pointer;
}
.hero-title{
    font-size:56px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: center;
    color: #0F172A;
}
.hero-subtitle{
    text-align: center;
    color: #64748B;
    max-width:900px;
    font-size: 18px;
    margin: 0 auto 50px auto;
}
body {
    background-color: #F2F0EF;
    color: #0F172A;
}
/**
    Navbar ( Home page ):
 */
.navbar {
    min-height: 70px !important;
    height: 70px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-image: url('/images/Navbar picture.avif');
    background-size: 23% !important;
    background-position: center !important;
    background-repeat: repeat !important;
    background-color: transparent !important;
    border-bottom: 1px solid #E2E8F0;
}

    .navbar .container,
    .navbar .container-fluid {
        height: 70px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 24px;
        padding-right: 24px;
    }

    .navbar-brand,
    .navbar .btn {
        position: relative;
        z-index: 2;
    }

.navbar-brand {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-right: 0 !important;
    display: flex;
    align-items: center;
    transform: translateX(-15px);
}

.navbar .btn {
    padding-top: 6px;
    padding-bottom: 6px;
}

.navbar a {
    color: #64748B;
}

a {
    text-decoration: none;
}

.sports-container a {
    text-decoration: none;
}

.nav-auth {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-login,
.nav-signup {
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-login {
    color: #F8FAFC;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

    .nav-login:hover {
        color: #FFFFFF;
        background: rgba(15, 23, 42, 0.68);
        background-color: rgba(255, 255, 255, 0.35);
        transform: translateY(-2px);
        text-decoration: none;
    }

.nav-signup {
    color: #F8FAFC;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

    .nav-signup:hover {
        color: #FFFFFF;
        background: rgba(15, 23, 42, 0.68);
        background-color: rgba(255, 255, 255, 0.35);
        transform: translateY(-2px);
        text-decoration: none;
    }

.navbar-logo {
    height: 190px;
    width: auto;
    object-fit: contain;
    margin-top: 12px;
    display: block;
}
/**
   Tablet ( Home page ):
 */
@media (max-width: 900px){
    .sports-container{
        grid-template-columns: repeat(2, 220px);
    }
    .hero-title {
        font-size: 45px;
    }

    .hero-subtitle {
        font-size: 16px;
     padding: 0 15px;
    }
}
/**
   Phone ( Home page ):
 */
@media (max-width: 600px){
    .sports-container{
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    .sports-card{
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-title{
        font-size: 38px;
    }
    .hero-subtitle{
        font-size: 15px;
       line-height: 1.6;
    }
    .navbar{
        padding: 6px 12px;
    }
    .navbar-logo {
        height: 150px;
        position: relative;
        left: -35px;
    }

    .nav-login,
    .nav-signup {
        padding: 6px 10px;
        font-size: 13px;
        position: relative;
        right: -25px;
    }
    .nav-auth{
        gap: 8px;
    }


}
/**
   Footer ( Home page ):
 */
.site-footer{
    background-image: url('/images/Navbar picture.avif');
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    padding: 70px 20px 30px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 0;
}
.footer-glass{
    max-width: 520px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    color: white;
}
.footer-glass h3{
    margin-bottom: 14px;
    font-size: 28px;
    color: #F8FAFC;
}
.footer-text{
    font-size: 16px;
    color:#E2E8F0;
    line-height: 1.7;
    margin-bottom: 20px;

}
.footer-email{
    color: #93C5FD;
    text-decoration: none;
    font-weight: 600;
}
.footer-email:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
.social-icons{
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 10px;
}
.social-icons a{
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-copy{
    margin-top: 24px;
    font-size: 14px;
    color: #E2E8F0;
}
html, body{
    margin: 0;
    padding: 0;
}
/**
  Sign up page
 */
.signup-page {
position: relative;
}
.signup-page::before {

}
    .signup-page::after {
    
    }
.signup-card {
    position: relative;
    z-index: 1;
    animation: fadeSlideUp 0.8s ease forwards;
}

.signup-header {
    text-align: center;
    margin-bottom: 0px;
    margin-top: 0px;
}

.signup-visual-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 22px auto 18px auto;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.25), 0 0 80px rgba(56, 189, 248, 0.15);
}

.signup-title {
    font-size: 52px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.05;
    margin-bottom: 14px;
}

.signup-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    width: 100%;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-group input {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #dbe4f0;
    font-size: 15px;
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    transition: all 0.25s ease;
}

    .form-group input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

.signup-btn {
    margin-top: 8px;
    padding: 15px 20px;
    border: none;
    border-radius: 16px;
    background: #0f172a;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .signup-btn:hover {
        transform: translateY(-2px);
        background: #1e293b;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    }

.signup-note {
    font-size: 14px;
    color: #64748b;
    margin-top: 2px;
    text-align: center;
}
.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 45px;
    }

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #64748b;
}

    .toggle-password:hover {
        color: #0f172a;
    }
.error-message {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #dc2626;
    min-height: 18px;

}
.input-error {
    border: 1px solid #dc2626 !important;
}

/**
  Sign up page Email Valdiation
 */
.verify-modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.verify-modal-body {
    padding: 10px 26px 30px;
    text-align: center;
}

.verify-modal-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 22px;
}

.verify-code-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.code-box {
    width: 54px;
    height: 60px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.96);
}

    .code-box:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

.verify-btn {
    width: 100%;
    margin-top: 10px;
}

.verify-resend-text {
    margin-top: 14px;
    font-size: 14px;
    color: #64748b;
}

    .verify-resend-text a {
        color: #2563eb;
        font-weight: 600;
        text-decoration: none;
    }

        .verify-resend-text a:hover {
            text-decoration: underline;
        }

.verify-error-message {
    display: block;
    min-height: 18px;
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 6px;
}
/**
  Sign up page media
 */

@media (max-width: 900px) {
    .signup-card {
        width: 94%;
        padding: 28px 22px;
    }

    .signup-title {
        font-size: 40px;
        line-height: 1.1;
    }

    .signup-subtitle {
        font-size: 16px;
        max-width: 100%;
        padding: 0 8px;
    }

    .signup-visual-img {
        width: 170px;
        height: 170px;
        margin-bottom: 22px;
        margin-top: -10px;
    }
}

@media (max-width: 600px) {
    .signup-page {
        padding: 20px 12px;
    }

    .signup-card {
        width: 100%;
        padding: 20px 16px;
        border-radius: 20px;
    }

    .signup-header {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .signup-title {
        font-size: 30px;
        line-height: 1.15;
    }

    .signup-subtitle {
        font-size: 15px;
        line-height: 1.7;
    }

    .signup-visual-img {
        width: 140px;
        height: 140px;
        margin-top: -30px;
        margin-bottom: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input {
        font-size: 14px;
        padding: 13px 14px;
    }

    .signup-btn {
        font-size: 15px;
        padding: 14px 18px;
    }

    .signup-note {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 6px;
    }
}
/**
  Login page
 */
.login-page{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 25px;
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    animation: fadeSlideUp 0.8s ease forwards;
}
.login-header{
    text-align: center;
    margin-bottom: 25px;
}
.login-gif{
    width: 120px;
    height: 120px;
    border-radius:100%;
    object-fit: cover;
    margin-bottom: 10px;
}
.login-title{
    font-size: 28px;
    margin-bottom: 10px;
}
.login-subtitle{
    color: #777;
    font-size: 14px;
}
.login-btn{
    width: 100%;
    padding: 12px;
    border: none;
    border-radius:10px;
    background: #0f172a;
    color: white;
    margin-top: 15px;
    transition: 0.3s;
}
.login-btn:hover{
    background: #1e293b;

}
.login-links{
    text-align: center;
    margin-top: 15px;
}
.login-links a{
    color: #3b82f6;
    text-decoration: none;
}
.forgot-password{
    margin-top: 5px;
    font-size: 13px;
    opacity: 0.7;
}
.nav-auth {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-auth-form {
    margin: 0;
}

.nav-auth-btn,
.nav-auth-btn:link,
.nav-auth-btn:visited,
.nav-auth-btn:active {
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(180, 205, 225, 0.45);
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

    .nav-auth-btn:hover {
        color: #FFFFFF;
        background: rgba(15, 23, 42, 0.68);
        background-color: rgba(255, 255, 255, 0.35);
        transform: translateY(-2px);
        text-decoration: none;
    }
/**
  Profile page
 */
.profile-page {
    min-height: 100vh;
    background: #f8fafc;
    padding: 40px 20px 60px;
}

.profile-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 36px;
}
.profile-avatar-block {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap:10px;
min-width: 120px;
}

.profile-avatar-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E2E8F0;
}

.profile-user-name {
    font-size: 34px;
    margin: 0 0 6px;
    color: #0f172a;
}

.profile-user-email {
    margin: 0;
    font-size: 16px;
    color: #64748b;
}

.portals-header {
    margin-bottom: 22px;
}

    .portals-header h2 {
        font-size: 30px;
        margin-bottom: 8px;
        color: #0f172a;
    }

    .portals-header p {
        font-size: 16px;
        color: #64748b;
        margin: 0;
    }

.portals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portal-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: visible;
}

    .portal-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.10);
    }

.portal-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 16px;
}

.portal-card-title {
    font-size: 22px;
    margin-bottom: 6px;
    color: #0f172a;
}

.portal-card-sport {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 10px;
}

.portal-card-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.add-portal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    cursor: pointer;
    border: 2px dashed #cbd5e1;
    background: #ffffff;
}

    .add-portal-card:hover {
        border-color: #2563eb;
    }

.add-portal-plus {
    font-size: 64px;
    line-height: 1;
    color: #2563eb;
    margin-bottom: 12px;
}

.add-portal-text {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.profile-modal-content {
    border-radius: 22px;
    border: none;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.profile-main-btn {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 14px;
    background: #0f172a;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.profile-main-btn:hover {
        background: #1e293b;
    }
.profile-avatar-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
.change-logo-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 9px;
    background: #0f172a;
    color: white;
    font-size: 11px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}
.change-logo-btn:hover {
    background: #1e293b;
}
.portal-carousel {
    margin-bottom: 16px;
    border-radius: 18px;
    overflow: hidden;
}

.portal-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators [data-bs-target] {
    background-color: #ffffff;
    opacity: 0.8;
}
.portal-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.edit-btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index:2;
}
.delete-btn {
    display: inline-block;
    background: #dc2626;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}
.edit-btn:hover {
   
        transform: translateY(-3px) scale(1.05);
       
    }
.delete-btn:hover {
    transform: translateY(-3px) scale(1.05);
}
.change-password-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #0f172a;
    transition: 0.3s;
    text-decoration: none;
}
.portal-links {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

    .portal-links a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
    }

        .portal-links a:hover {
            text-decoration: underline;
        }

    .portal-links span {
        color: #475569;
    }

    .portal-links i {
        margin-right: 6px;
    }

    .change-password-btn:hover {
        background: #0f172a;
        color: white;
    }
@media (max-width: 900px) {
    .portals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-user-name {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .profile-page {
        padding: 24px 14px 40px;
    }

    .portals-grid {
        grid-template-columns: 1fr;
    }

    .profile-header-card {
        padding: 22px 18px;
    }

    .profile-user-name {
        font-size: 24px;
    }

    .portals-header h2 {
        font-size: 24px;
    }

    .portal-card-img {
        height: 160px;
    }
    .nav-auth-btn,
    .nav-auth-btn:link,
    .nav-auth-btn:visited,
    .nav-auth-btn:active {
        padding: 6px 10px;
        font-size: 13px;
        position: relative;
        right: -25px;
    }
}
/**
    ==============================================================================
  All classes page
    ==============================================================================
 */
.sport-page {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 24px 60px;
}

.sport-header {
    margin-bottom: 26px;
    text-align : center;

}

    .sport-header h1 {
        font-size: 44px;
        font-weight: 700;
        color: #0F172A;
        margin-bottom: 10px;
        letter-spacing: -0.5px;
    }

    .sport-header p {
        font-size: 17px;
        line-height: 1.7;
        color: #64748B;
        max-width: 760px;
        margin: 0 auto;
    }

/* =========================
   SEARCH BOX
========================= */

.sport-search {
    margin-bottom: 34px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 16px 18px;
   
    transition: all 0.25s ease;
}

    .search-box:focus-within {
        border-color: rgba(59, 130, 246, 0.55);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
    }

    .search-box i {
        font-size: 18px;
        color: #64748B;
        flex-shrink: 0;
    }

    .search-box input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: #E2E8F0;
        font-size: 16px;
        font-family: inherit;
    }

        .search-box input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

/* =========================
   PORTALS GRID
========================= */
.sport-page {
    max-width: 1050px;
    margin: 50px auto;
    padding: 0 20px 60px;

}

.sport-portals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* =========================
   PORTAL CARD
========================= */

.sport-portal-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
   background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    backdrop-filter: blur(10px);
   
}

    .sport-portal-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 26px 55px rgba(0, 0, 0, 0.48);
        border-color: rgba(59, 130, 246, 0.28);
    }

/* =========================
   IMAGE
========================= */

.portal-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    
}

/* =========================
   CONTENT
========================= */

.portal-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 22px;
}

    .portal-content h3 {
        margin: 0 0 8px;
        font-size: 31px;
        line-height: 1.25;
        font-weight: 700;
        color: #F8FAFC;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.portal-location {
    margin: 0 0 10px;
    font-size: 14px;
    color: #94A3B8;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-desc {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #E2E8F0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-details {
    margin-top: auto;
    display: inline-block;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.sport-portal-card:hover .view-details {
    color: #93C5FD;
    transform: translateX(2px);
}

/* =========================
   EMPTY STATE
========================= */

.sport-empty-state {
    background: rgba(2, 6, 23, 0.82);
    border: 1px dashed rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    padding: 42px 28px;
    text-align: center;
    color: #94A3B8;
}

    .sport-empty-state h3 {
        margin-bottom: 10px;
        color: #E2E8F0;
    }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .sport-page {
        padding: 0 18px 50px;
    }

    .sport-header h1 {
        font-size: 36px;
    }

    .portal-img {
        height: 200px;
    }
    .sport-portals-grid {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 640px) {
    .sport-page {
        margin: 34px auto;
        padding: 0 14px 40px;
    }

    .sport-header h1 {
        font-size: 30px;
    }

    .sport-header p {
        font-size: 15px;
    }

    .search-box {
        padding: 14px 14px;
        border-radius: 14px;
    }

    .sport-portals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portal-img {
        height: 190px;
    }

    .portal-content {
        padding: 16px 16px 18px;
    }
}
/*Modals related to classes for users*/
.portal-details-modal-content {
    background: #020617;
    color: #E2E8F0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
}

.portal-details-body {
    padding: 24px;
}

.portal-details-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.modal-carousel-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
}

.portal-details-right h2 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #F8FAFC;
}

.modal-portal-sport {
    color: #60A5FA;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-portal-location {
    color: #94A3B8;
    margin-bottom: 16px;
}

.modal-portal-description {
    color: #CBD5E1;
    line-height: 1.8;
    margin-bottom: 20px;
}

.modal-portal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .modal-portal-links a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #E2E8F0;
        text-decoration: none;
    }

        .modal-portal-links a:hover {
            color: #60A5FA;
        }

@media (max-width: 900px) {
    .portal-details-grid {
        grid-template-columns: 1fr;
    }

    .modal-carousel-img {
        height: 280px;
    }
}

/* =========================
  Eye icon for password in Forgot section:
========================= */

.password-input-wrapper {
    position: relative;
}

    .password-input-wrapper .toggle-password {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .password-input-wrapper .toggle-password i {
            font-size: 1.1rem;
            color: #64748b;
        }

        .password-input-wrapper .toggle-password:hover i {
            opacity: 0.75;
        }

/* =========================
 Eye icon for password in Change password section which is in Profile:
========================= */

.password-input-wrapper {
    position: relative;
}

    .password-input-wrapper .toggle-password {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .password-input-wrapper .toggle-password i {
            font-size: 1.1rem;
            color: #64748b;
        }

        .password-input-wrapper .toggle-password:hover i {
            opacity: 0.75;
        }


/**
   Rating stars:
 */

.interactive-star-rating {
    display: inline-flex;
    gap: 6px;
    cursor: pointer;
}

    .interactive-star-rating .star-item {
        font-size: 1.5rem;
        color: #94A3B8;
        transition: transform 0.15s ease, color 0.15s ease;
    }

        .interactive-star-rating .star-item.bi-star-fill {
            color: #facc15;
        }
        .interactive-star-rating .star-item:hover {
            transform: scale(1.1);
        }



/**
   profile edit:
 */


.profile-header-card {
    position: relative;
}

.profile-edit-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

    .profile-edit-btn i {
        font-size: 1.65rem;
        color: #111827;
    }

    .profile-edit-btn:hover {
        background-color: rgba(15, 23, 42, 0.06);
        transform: scale(1.03);
    }
    .profile-edit-btn:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    }
@media (max-width: 768px) {
    .profile-edit-btn {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

        .profile-edit-btn i {
            font-size: 1.45rem;
        }
}


/**
change email in profile:
 */


.change-email-link {
    font-size: 0.9rem;
    color: #2563eb;
    text-decoration: none;
    cursor: pointer;
}
.change-email-link:hover {
    text-decoration: underline;
}


.email-code-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
}
.email-code-box {
    width: 60px !important;
    height: 70px !important;
    font-size: 28px !important;
    font-weight: 700;
    text-align: center;
    border-radius: 14px;
    border: 2px solid #ccc;
}

    .email-code-box:focus {
        border-color: #4f46e5;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    }
.change-email-link,
.verify-resend-text a {
    color: #2563eb;
    text-decoration: none;
    cursor: pointer;
}

    .change-email-link:hover,
    .verify-resend-text a:hover {
        text-decoration: underline;
    }

@media (max-width: 768px) {
    .email-code-row {
        gap: 8px;
    }

    .email-code-box {
        width: 44px;
        height: 56px;
        border-radius: 16px;
        font-size: 1.2rem;
    }
}