/* Reset default styling */
* {
    margin: 0.2em;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Anek Bangla", sans-serif;
   
    background-color: #f5f5f5;
    color: #333;
    margin: 20px;
}

h1 {
    text-align: center;
    color: #2c5f2d;
    margin-bottom: 30px;
}

/* Container for all information */
#info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Card-like structure for each info-item */
.info-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-item strong {
    font-size: 18px;
    color: #2c5f2d;
    margin-bottom: 10px;
}

.info-data {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Side-by-side buttons */
.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

button {
    background-color: #2c5f2d;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
}

button:hover {
    background-color: #4caf50;
}

/* Initially hide the QR code canvas */
.qr-code {
    display: none;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Link styling */
.data-link {
    
    color: #2c5f2d;
    text-decoration: none;
    font-weight: bold;
    word-break: break-all;
}
/* .info-data > span{margin: 20px;} */

.data-link:hover {
    text-decoration: underline;
}

/* Tag styling for file data */
.tag {
    display: block;
    background-color: #e0f2e9;
    color: #2c5f2d;
    padding: 5px 10px;
    border-radius: 3px;
  /* margin: 0.3rem; */
    font-size: 14px;
}

/* Search bar styling */
#search-input {
    width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block;
    margin: 0 auto 30px auto;
}

#search-input:focus {
    outline: none;
    border-color: #2c5f2d;
}

@media (max-width: 600px) {
    .info-item {
        width: 100%;
    }

    #search-input {
        width: 100%;
    }
}
