/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f3f4f6; /* Light gray background */
    color: #1a1a1a;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Card Styles */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}


/* Table Styles */
.tiptable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.tiptable th,
.tiptable td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.tiptable th {
    background-color: #f9fafb;
    color: #374151;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    color: white;
    z-index: 1000;
    text-align: center;
    width: 300px; /* Adjust width as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.popup-content p {
    margin: 0;
    font-size: 14px;
}

.success-popup {
    background-color: #4CAF50; /* Green */
}

.error-popup {
    background-color: #F44336; /* Red */
}

/* Button Styles */
.button {
    background-color: hsl(199, 57%, 57%); /* Blue button */
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    text-align: center;
}

.button:hover {
    background-color: hsl(199, 57%, 47%); /* Darker blue on hover */
    transform: scale(1.005);
}

/* Button Styles */
.find-button {
    background-color: hsl(199, 57%, 57%); /* Blue button */
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    text-align: center;
}

.find-button:hover {
    background-color: hsl(199, 57%, 47%); /* Darker blue on hover */
    transform: scale(1.005);
}

/* Button Styles */
.login-button {
    background-color: hsl(199, 57%, 57%); /* Blue button */
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    text-align: center;
}

.login-button:hover {
    background-color: hsl(199, 57%, 47%); /* Darker blue on hover */
    transform: scale(1.005);
}

/* Loader Styles */
.loader {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid hsl(199, 57%, 75%);
    border-top: 3px solid hsl(199, 57%, 57%);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Hide the loader initially */
.hidden {
    display: none;
}

/* Button styles */
.find-button {
    background-color: hsl(199, 57%, 57%);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.find-button:disabled {
    background-color: hsl(199, 57%, 75%);
    cursor: not-allowed;
}

/* Loader Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Card styling */
.mytipcard {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin: 20px auto;
}

/* Table styling */
.mytiptable {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

/* Table header */
.mytiptable th {
    font-size: 20px;
    font-weight: bold;
    color: hsl(199, 57%, 57%);
    padding: 12px;
    text-align: left;
}

/* Table data */
.mytiptable td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

/* Bold header row */
.mytiptable tr:first-child td {
    font-weight: bold;
}

/* Responsive styling */
@media screen and (max-width: 600px) {
    .mytipcard {
        width: 90%;
    }

    .mytiptable th, 
    .mytiptable td {
        font-size: 14px;
        padding: 8px;
    }
}



/* Info Box Styles */
.info-box {
    background-color: hsl(199, 57%, 90%); /* Light blue background */
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.info-box .icon {
    color: hsl(199, 57%, 57%); /* Blue icon */
    margin-right: 0.5rem;
}

.info-box p {
    color: hsl(199, 57%, 30%); /* Dark blue text */
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb; /* Light gray border */
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: hsl(199, 57%, 57%); /* Blue border on focus */
    box-shadow: 0 0 0 3px hsl(199, 57%, 90%); /* Light blue shadow */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    .card {
        padding: 1rem;
    }

    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* Light gray background */
    color: #1e293b; /* Dark gray text */
    line-height: 1.6;
}

/* Icon Styles */
.icon {
    color: hsl(199, 57%, 57%); /* Blue icon */
    font-size: 2rem;
    margin-right: 0.5rem;
}

/* Heading Styles */
h2 {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(199, 57%, 57%); /* Blue heading */
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b; /* Dark gray heading */
    margin-bottom: 1rem;
}

/* Paragraph Styles */
p {
    font-size: 1rem;
    color: #1e293b; /* Dark gray text */
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}


