body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f0f0;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
    justify-content: center; 
    align-items: flex-start; 
    min-height: 100vh; 
}

.wrapper {
    max-width: 1200px; 
    margin: auto;
    padding: 20px; 
    background-color: white; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007bff;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

nav a:hover {
    background-color: #0056b3;
    border-radius: 4px;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.flashes {
    margin: 20px 0;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    list-style-type: none;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    padding: 20px;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.02);
}

.card-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.card-content {
    margin-bottom: 15px;
}

.card img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
}

.url {
    word-wrap: break-word;
    margin: 10px 0;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.delete-button:hover {
    background-color: #c82333;
}

input[type="text"], input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.qr-container {
    text-align: center;
    margin: 20px 0;
}

.qr-container img {
    max-width: 100%;
    width: 200px;
    height: auto;
    border-radius: 8px;
}

.qr-url {
    margin: 10px 0;
    font-size: 14px;
    color: #007bff;
}

.copy-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

.copy-button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #007bff;
        width: 100%;
        z-index: 1000;
        padding: 10px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }
}

/* Tab Styles */
.tab-container {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    justify-content: space-around;
}

.tab-buttons button {
    flex: 1;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-buttons button:hover {
    background-color: #0056b3;
}

.tab-buttons button.active {
    background-color: #0056b3;
}

.tab-content {
    display: none;
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}
