/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin: 30px 0;
    text-align: center;
}

.logo img {
    width: 80px;
    height: auto;
}

.logo-text {
    color: #FF7D00;
    font-weight: bold;
    margin-top: 5px;
    font-size: 14px;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
}

.subtitle {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

form {
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #FF7D00;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #ff7b00;
    color: white;
}

.btn-primary:hover {
    background-color: #964600;
}

.btn-secondary {
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.btn-bundle {
    background-color: #ad0101;
    color: white;
}

.btn-bundle:hover {
    background-color: #020074;
}

/* Dashboard styles */
.dashboard-header {
    width: 100%;
    margin-bottom: 20px;
}

.user-greeting {
    font-size: 18px;
    margin-bottom: 5px;
}

.user-name {
    color: #FF7D00;
    font-weight: bold;
}

.subscription-info {
    width: 100%;
    margin: 20px 0;
}

.subscription-label {
    color: #333;
    font-size: 16px;
}

.subscription-value {
    color: #FF7D00;
    font-weight: bold;
}

hr {
    width: 100%;
    border: none;
    border-top: 1px solid #ccc;
    margin: 5px 0 20px 0;
}

dl {
    width: 100%;
    margin-bottom: 20px;
}

dt {
    float: left;
    clear: left;
    width: 120px;
    text-align: left;
    font-weight: normal;
    color: #666;
    margin-bottom: 10px;
}

dd {
    margin-left: 130px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Subscription plans */
.plan-options {
    width: 100%;
    margin-top: 10px;
}

.plan {
    background-color: #FF7D00;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
}

.plan:hover {
    background-color: #E86D00;
}

.helper-text {
    font-size: 14px;
    color: #666;
    margin: 15px 0;
    text-align: left;
    width: 100%;
}

.logo img {
    width: 300px;
    height: 300px;
}


.btn-function {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #1b01ad;
    color:#fff;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}
.btn-function:hover {
    background: #100164;
    color:#fff
}

.btn-logout {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ce0101;
    color:#fff;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}
.btn-logout:hover {
    background: #740101;
    color:#fff
}

#loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
  }

  .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid red;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }


/*     error      */
.custom-error {
    background-color: rgba(255, 0, 0, 0.1); /* light red background with opacity */
    border: 2px solid #ff4d4d; /* solid red border */
    border-radius: 8px; /* rounded corners */
    padding: 15px;
    color: #b30000; /* darker red text */
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-error ul {
    margin: 0;
    padding-left: 20px;
}

.custom-success{
    background-color: rgba(0, 138, 18, 0.486);
    border: 2px solid #48ff00;
    border-radius: 8px;
    padding: 15px;
    color: #196601;
    font-weight: bold;
    margin-bottom: 15px;
}


.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #323232;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
}

.notification.show {
    top: 20px;
    opacity: 1;
}


.input-group {
        margin-bottom: 15px;
    }

    .input-label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
        font-size: 14px;
    }

    select#location {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 999px; /* Fully rounded */
        background-color: #f9f9f9;
        color: #333;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
    }

    select#location:focus {
        outline: none;
        border-color: #ff6600;
        background-color: #fff;
    }
