@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}


@media (max-width: 480px) {
    section {
        padding: 20px;
        background-position: center;
    }

    .form-box {
        width: 90%;
        height: auto;
        padding: 20px;
        border-radius: 15px;
    }

    h2 {
        font-size: 1.6em;
    }

    .inputbox {
        width: 100%;
        margin: 25px 0;
    }

    .inputbox input {
        height: 45px;
        font-size: 0.95em;
    }

    .inputbox ion-icon {
        font-size: 1.1em;
        top: 17px;
    }

    button {
        height: 38px;
        font-size: 0.9em;
    }

    .forget {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .register {
        font-size: 0.85em;
    }

    .messageDiv {
        font-size: 0.9em;
        padding: 8px 15px;
        margin: 10px auto;
    }
}





body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #b1d5f8;
  margin: 0;
  padding: 0;
}


header{
text-align: center;
color: rgb(79, 198, 192);
}

.search{
    
    width: max-content;
    display:flex;
    align-items: center;
    padding:14px;
    border-radius: 28px;
    background: #f5f2f2;
    margin: 0 auto; /*center the search bar */
}

.search-input{
    font-size: 16px;
    font-family:'Times New Roman', Times, serif;
    color: #333333;
    margin-left:14px;
    outline:none;
    border: none;
    background: transparent;
    width: 300px;
}

.action-card {
    background: #f8fbff;
    transition: 0.2s ease;
    cursor: pointer;
}

.action-card:hover {
    background: #e7e9ec;
    transform: translateY(-3px);
}


.top-header {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #f2f2f2;
    border-bottom: 2px solid #c00; 
    display: flex;
    align-items: center;
    padding-left: 15px;
}


.site-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
}

.login-btn {
    position: absolute;
    right: 15px;
    top: 12px;
    background-color: rgb(85, 215, 196);
    color: white;
    padding: 6px 14px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
}

.login-btn:hover {
    background-color: #48f2ec;
}


/* Beach cards */

#beachGrid {
 background-color: #71f4fd;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(124, 238, 248, 0.3);
}

.card {
   background-color: #ffffff;
  border: 1px solid #dce3e8;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card-body {
  padding: 1rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.badge {
  font-size: 0.9rem;
  padding: 0.4em 0.6em;
}

.bg-success {
  background-color: #28a745 !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

header {
    position: relative;
}

.logout-btn {
    position: absolute;
    top: 10px;
    right: 20px;

    background-color: #2aacba;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.logout-btn:hover {
    background-color: #29adbc;
}

