body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-y: auto;
}

.container_nft {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .tabs button {
        background: none;
        border: none;
        /*padding: 10px;*/
        cursor: pointer;
        font-size: 10px;
		background-color: #b8d187;
		margin: 5px;
    }

        .tabs button.active {
            border-bottom: 2px solid #007bff;
        }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.profile-info {
    text-align: center;
}

    .profile-info img {
        border-radius: 50%;
        margin-bottom: 10px;
    }

    .profile-info button#connect-wallet-btn {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 10px;
    }

        .profile-info button#connect-wallet-btn:hover {
            background-color: #0056b3;
        }

    .profile-info button#add-raffle-btn {
        background-color: #28a745;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 10px;
        display: block; /* Visible by default for all users */
    }

        .profile-info button#add-raffle-btn:hover {
            background-color: #218838;
        }

.raffle-card {
    margin-bottom: 15px;
    padding: 10px;
}

.raffle-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
}

    .raffle-button:hover {
        background-color: #0056b3;
    }

.raffle-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.progress {
    margin: 10px 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

    .modal-content h2 {
        color: #007bff;
        margin-bottom: 20px;
        font-size: 24px;
    }

    .modal-content p {
        margin: 10px 0;
        line-height: 1.6;
    }


    .modal-content ul {
        list-style-type: none;
        padding: 0;
        margin: 10px 0;
    }

    .modal-content li {
        background-color: #f8f9fa;
        padding: 8px 12px;
        border-radius: 4px;
        margin-bottom: 5px;
    }

    .modal-content form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .modal-content label {
        margin-bottom: 5px;
        font-weight: bold;
        color: #333;
    }

    .modal-content input,
    .modal-content textarea {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        width: 100%;
        font-size: 14px;
    }

    .modal-content textarea {
        height: 120px;
        resize: vertical;
    }

    .modal-content button[type="submit"],
    .modal-content button.raffle-button {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 5px;
        cursor: pointer;
        width: 100%;
        font-size: 16px;
        transition: background-color 0.3s;
    }

        .modal-content button[type="submit"]:hover,
        .modal-content button.raffle-button:hover {
            background-color: #0056b3;
        }

.close {
    float: right;
    cursor: pointer;
    font-size: 24px;
    line-height: 24px;
    color: #666;
}

    .close:hover {
        color: #000;
    }

/* Responsive design */
@media (max-width: 480px) {
    .container_nft {
        padding: 10px;
        max-width: 320px;
    }

    .modal-content {
        width: 85%;
        padding: 15px;
    }

        .modal-content h2 {
            font-size: 20px;
        }

        .modal-content button[type="submit"],
        .modal-content button.raffle-button {
            padding: 10px 15px;
            font-size: 14px;
        }
}
