body {
    background-color: #f9f9f9;
    color: #333333;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Terminal Container */
.terminal-container {
    width: 80%;
    max-width: 900px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #c0c0c0;
    overflow: hidden;
}

/* Terminal Header */
.terminal-header {
    display: flex;
    align-items: center;
    background-color: #e0e0e0;
    padding: 10px;
    border-bottom: 2px solid #c0c0c0;
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.button.close {
    background-color: #ff5f56;
}

.minimize {
    background-color: #ffbd2e;
}

.maximize {
    background-color: #27c93f;
}

.terminal-title {
    margin-left: auto;
    color: #333333;
    font-size: 14px;
}

/* Terminal Body */
.terminal-body {
    padding: 20px;
}

.welcome-section,
.scan-section,
.subscription-section {
    margin-bottom: 20px;
}

h1,
h2 {
    color: #333333;
}

p {
    color: #555555;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #f0f0f0;
    border: 1px solid #c0c0c0;
    color: #333333;
    font-family: inherit;
}

button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}

.scan-result {
    margin-top: 10px;
    color: #333333;
}

.subscribe-btn {
    width: 100%;
    padding: 15px;
    background-color: #2196f3;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.subscribe-btn:hover {
    background-color: #1976d2;
}

.spinner {
    border: 2px solid #f3f3f3;
    /* Light gray */
    border-top: 2px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modal styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    /* Could be more or less, depending on screen size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
}

.modal .close {
    color: #cbd;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
}

.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Style the form elements */
#subscription-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
}

#subscription-form button {
    background-color: #4CAF50;
    /* Green */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
}

#subscription-form button:hover {
    background-color: #45a049;
}

#subscription-result {
    margin-top: 10px;
}