/* Styles for enter-url.html to match qr-scanner.html aesthetic */

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.main-container .header-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main-container .header-section h2 {
    font-size: 1.5em;
    color: var(--text-color); /* Assuming --text-color is defined in base.css or main-layout.css */
    margin: 0;
}

.curved-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin-top: 60px; /* Add margin to push it down from the top */
    height: calc(100% - 120px); /* Adjust height to fill remaining space */
}

.page-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.qr-scanner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;

    flex-grow: 1;
}

#urlInput {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

#goToLinkButton {
    width: 100%;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#goToLinkButton:hover {
    background-color: #0056b3;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .curved-box {
        padding: 15px;
        margin: 10px;
    }
}