/* ==============================
   Base
============================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background: #F7F8FA;
	color: #2B2B2B;
}

#header{
    width:100%;
    display: flex;
    justify-content: center;
	align-items: center;
    flex-direction: column;
}

.logo_container{
    display: flex;
    flex-direction: row;
    font-weight: 700;
    font-size: 1.6rem;
    justify-content: center;
	align-items: center;
    padding: 25px 0px 0px;
    text-decoration:none;
    user-select: none;
    color:#111;
    max-width:500px;
}
.subtitle_main{
    font-weight: 700;
    font-size: 1.3rem;
}
.container {
	max-width: 480px;
	margin: 40px auto;
	padding: 0 20px;
}

/* ==============================
   Headings
============================== */

h1 {
	text-align: center;
	font-size: 1.75rem;
	margin-bottom: 8px;
}

div.subtitle {
	text-align: center;
	color: #555;
	margin-bottom: 24px;
}

/* ==============================
   Card
============================== */

.card {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	margin-bottom: 20px;
}

label {
	display: block;
	font-size: 0.95rem;
	margin-bottom: 6px;
	color: #333;
}

input,
select {
	width: 100%;
	padding: 10px;
	margin-bottom: 14px;
	font-size: 1rem;
	border: 4px solid #d6e6f5;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
}

/* ==============================
   Timeframe wrapper
============================== */

.timeframe-wrapper {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}

.timeframe-wrapper input,
.timeframe-wrapper select {
	flex: 1;
}

/* ==============================
   Checkbox inline
============================== */

.checkbox-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
	gap: 6px;
}

.checkbox-inline {
	cursor: pointer;
	user-select: none;
	font-size: 0.95rem;
}

.checkbox-wrapper input[type="checkbox"] {
	margin: 0;
	height: 15px;
	width: 15px;
}

/* ==============================
   Buttons
============================== */

button {
	width: 100%;
	padding: 12px;
	font-size: 1rem;
	background: #ff8f00;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease;
}

button:hover {
	background: #dd8009;
}

/* ==============================
   Advanced Section
============================== */

#advancedSection {
	background: #F4F6F8;
	padding: 12px;
	border-radius: 6px;
	margin-bottom: 14px;
}

/* ==============================
   Results
============================== */

.result-card {
	background: #fff;
	padding: 18px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	margin-top: 10px;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.result-card.show {
	opacity: 1;
}

.result-card h2 {
	margin: 0 0 12px;
	font-size: 1.3rem;
	color: #28A745;
	text-align: center;
}

.result-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 1rem;
	border-bottom: 1px solid #eee;
}

.result-row:last-child {
	border-bottom: none;
}

.total-line {
	margin-top: 16px;
	font-size: 1.05rem;
	text-align: center;
	color: #333;
}
#footer{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 24px;
}

.footer_links{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer_links a{
    text-decoration:none;
    color: #111;
}
.our_other_tools{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items:center;
    font-weight: 700;
    padding: 34px 0px 60px;
}
.our_other_tools a{
    text-decoration:none;
    color:black;
    padding: 24px;
    max-width: 45vw;
    overflow: hidden;
    word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}
.other_tools_title{
    font-size: 28px;
    line-height: 64px;
}
.online_tool_container{
    text-align:center;
}
.other_tools_container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12%;
    padding: 24px;
    overflow: hidden;
    white-space: nowrap;
}
.tool_description{
    font-weight:normal;
}
.usengo_site_name{
    font-weight:700;
    font-size:3rem;
}
.usengo_site_description{
    font-weight:400;
}

@media (max-width: 575.98px) {
    .other_tools_container{
        flex-direction:column;
    }
    .our_other_tools a{
        width: 100%;
        max-width: unset;
    }
    .other_tools_title{
        text-align: center;
        line-height: 1.85rem;
    }
}