/* General styling for a modern, minimalist look */
body {
    color: #333; /* Darker text for better contrast on light background */
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.3); /* Slightly transparent container background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

p {
    color: #555;
    margin-bottom: 15px;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#payment-id-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.4); /* Subtle transparent border */
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1); /* Transparent white background */
    color: #333; /* Dark text for input */
    font-size: 1rem;
    transition: all 0.3s ease;
}

#payment-id-input::placeholder {
    color: rgba(51, 51, 51, 0.7); /* Transparent placeholder */
}

#payment-id-input:focus {
    outline: none;
    border-color: rgba(0, 123, 255, 0.6); /* Highlight on focus */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

#search-button {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    background-color: rgba(0, 123, 255, 0.7); /* Transparent blue */
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#search-button:hover {
    background-color: rgba(0, 123, 255, 0.9); /* Darker on hover */
    transform: translateY(-2px);
}

#search-results-container {
    margin-top: 30px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.15); /* Transparent background for results */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: none; /* Hidden by default */
    text-align: left;
}

.result-card {
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle transparent border */
    background-color: rgba(255, 255, 255, 0.05); /* Even more transparent */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.result-card p {
    margin: 0 0 8px;
    color: #444;
}

.result-card p:last-child {
    margin-bottom: 0;
}

.result-card strong {
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: column;
    }

    #search-button {
        width: 100%;
    }
}