
body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #2D2D2D;
    color: #D4D4D4;
    overflow: hidden;
}

.clipboard-container {
    width: 820px;
    height: 750px;
    background-color: #1E1E1E;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h2 {
    margin: 0;
    font-weight: 600;
    font-size: 24px;
    text-align: left;
    color: #BBB;
    flex: 0;
}

textarea {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 1px solid #555;  /* Adjusted border color */
    border-radius: 3px;
    background-color: transparent;
    color: #D4D4D4;
    font-size: 16px;
    resize: none;
    font-family: 'Consolas', 'Courier New', monospace;
}

button {
    align-self: flex-end;
    padding: 10px 20px;
    border: none;
    background-color: #007ACC;
    color: white;
    border-radius: 3px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    margin-top: 10px;
}

button:hover {
    background-color: #005AA5;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.description-title {
    font-weight: 600;
    font-size: 20px;
    color: #BBB;
    margin-top: 15px;
}

.description-content {
    font-weight: 400;
    font-size: 16px;
    color: #AAA;
    margin-bottom: 20px;
}

#loading-spinner {
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #007ACC;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

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

.button-container {
    align-self: center;
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #007ACC;
    color: white;
    border-radius: 3px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

button:hover {
    background-color: #005AA5;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

#loading-spinner {
    align-self: center;
    margin-top: 10px;
    display: none;
}

#loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#loading-spinner, #loading-text {
    z-index: 10000;
}
