* {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    padding-top: 80px;
    min-height: 100vh;
}

.container {
    /* border-style: solid; */
    /* border-width: 1px; */
    position: relative;
    padding: 40px 30px;
    padding-top: 60px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 415px;
    width: 100%;
}

#robot {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: auto;
    z-index: 1;
}

#container-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.header-title {
    font-size: 1.5em;
    color: #333;
    margin: 0;
}

.select-label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

#date-select {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    font-size: 0.9em;
    color: black;
}

#date-select:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 3px black; /* Optional: Custom focus style */
}

/* select {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    font-size: 0.9em;
} */

.field {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1em;
    border-bottom: 1px solid #eee;
}

.field span:first-child {
    color: #666;
}

.total-display {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.space-between-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

label {
    font-weight: bold;
}

.custom-input{
    padding: 8px;
    /* width: 100px; */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
}

.custom-input:focus {
    outline: none;
    border-color: #aaa;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.loader {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #000000; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.badges .green {
    background-color: rgba(34, 197, 94, 0.10);
    color: rgb(34 197 94);
    border: 1px rgb(34 197 94) solid;
    border-radius: 20px;
    cursor: pointer;
}

.badges .green:hover{
    background-color: rgb(34 197 94);
    color: white;
}
.badges .blue {
    background-color: rgb(207, 234, 240);
    color: rgb(64, 131, 146);
    border: 1px solid rgb(64, 131, 146);
    border-radius: 5px;
}

#address-div {
    background-color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

#address-input {
    width: 100%;
    margin-right: 10px;
}
#address-input:disabled {
    background-color: black !important;  /* Ensures background stays black */
    color: white !important;             /* Keeps text color white */
    -webkit-text-fill-color: white !important; /* Ensures text color stays white */
    opacity: 1 !important;               /* Removes any default graying */
}
#address-input:disabled::placeholder {
    color: #aaa !important;              /* Lighten placeholder for contrast */
    opacity: 1 !important;               /* Make placeholder fully visible */
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
    border-radius: 1px;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 80px;
    background-color: #555;
    font-size: 0.8em;
    color: #fff;
    text-align: center;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 10px 0;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: #f5f5f5;
}

.social-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
}

.social-info {
    flex-grow: 1;
}

.social-name {
    font-weight: bold;
    margin: 0;
}

.social-handle {
    color: #666;
    margin: 0;
    font-size: 0.9em;
}

.contact-button {
    background: none;
    color: rgb(64, 131, 146);;
    border: none;
    cursor: pointer;
    padding: 3px;
    border-radius: 50%;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.contact-button:hover {
    background-color: #f0f0f0;
}
