<style>
    .success-container {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: linear-gradient(135deg, #e0f7fa, #ffffff);
    }

    .success-card {
        padding: 2.5rem;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        border: 3px solid #009286;
        max-width: 450px;
        width: 100%;
        transition: transform 0.3s ease-in-out;
    }

    .success-card:hover {
        transform: translateY(-5px);
    }

    .success-card img {
        width: 100px;
    }

    .success-card h2 {
        color: #009286;
        font-weight: bold;
        margin-top: 1rem;
    }

    .success-card p {
        color: #555;
        font-size: 1.1rem;
        margin: 10px 0 20px;
    }

    .btn-success {
        background: #009286;
        border: none;
        padding: 10px 20px;
        color: white;
        font-size: 1rem;
        border-radius: 8px;
        text-transform: uppercase;
        transition: background 0.3s;
        text-decoration: none;
    }

    .btn-success:hover {
        background: #007a6b;
    }
</style>

<div class="success-container">
    <div class="success-card">
        <img src="https://cdn-icons-png.flaticon.com/512/845/845646.png" alt="Success">
        <h2>Success!</h2>
        <p>Your operation was completed successfully.</p>
        <a href="<?php echo base_url()?>" class="btn btn-success">Go to Home</a>
    </div>
</div>
