/* styles.css */

#app {
    background-color: #f7f7f7;
    color: #272626;
    padding: 20px;
    font-family: "Luxora", sans-serif;
    background-image: linear-gradient(45deg, #eaeaea 25%, transparent 25%, transparent 50%, #eaeaea 50%, #eaeaea 75%, transparent 75%, transparent);
    background-size: 8px 8px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 34px;
    margin-bottom: 16px;
    border-bottom: 4px ridge #333458;
    padding-bottom: 8px;
}

input {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
}

button {
    padding: 12px 24px;
    background-color: #ffffff;
    border: 1px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    color: #000000;
    font-weight: bold;
    font-family: "Luxora", sans-serif;
}

.button:hover {
    background-color: #000000;
    color: #ffffff;
}

.response-button {
    margin-top: 10px;
    cursor: pointer;
    background-color: #64dd17;
    border: 1px solid #000000;
    border-radius: 5px;
    padding: 12px 20px;
    color: #000000;
    font-weight: bold;
    font-family: sans-serif;
    font-size: medium;
}

.response-button:hover {
    background-color: #000000;
    color: #ffffff;
}

.error-button {
    background-color: rgb(247, 126, 126);
    color: white;
}

.error-message {
    color: red;
    margin-top: 10px;
}

.response-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.response-content {
    background-color: #333;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
}

.copy-button {
    padding: 8px 16px;
    background-color: #333458;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
    font-family: sans-serif;
}

.copy-button:hover {
    background-color: #cecece;
    color: #000000;
}

.input-container input {
    padding: 14px;
    font-size: 16px;
}

.input-container button {
    padding: 14px 24px;
    font-size: 16px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 30px auto;
}

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