.tool-area {
    margin-bottom: 30px
}

.full-width-content .mz-tool,.mz-tool {
	background: linear-gradient(180deg,#fafaff 10%,#d5d9ff);
    max-width: 100%;
	color: var(--contrast)
}

.age-calculator-form {
    max-width: 600px;
    margin: 0 auto
}

.form-text {
    font-size: 18px;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 35px
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111827;
    text-align: center
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 28px
}

.select-box {
    flex: 1;
    min-width: 180px
}

.select-box label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827
}

.select-box select {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    outline: 0;
    transition: .2s ease;
    cursor: pointer
}

.select-box select:focus,.share-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12)
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
	margin: 0 auto;
    margin-top: 10px;
    max-width: 90%;
}

.buttons button {
    flex: 1;
    height: 50px;
    border: 0;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease
}

.buttons button[type=submit] {
    background: #2563eb;
    color: #fff
}

.buttons button[type=submit]:hover {
    background: #1d4ed8
}

#clearBtn {
    background: #e5e7eb;
    color: #111827
}

#clearBtn:hover {
    background: #d1d5db
}

.result {
    margin-top: 35px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    overflow: hidden;
    background: #fff
}

.result-header {
    background: #4d7c0f;
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap
}

.result-header span,.save-btn {
    font-size: 26px;
    font-weight: 700
}

.save-btn {
    background: #fff;
    color: #4d7c0f;
    border: 0;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: .2s ease
}

.save-btn:hover {
    background: #f3f4f6
}

.result-body {
    padding: 28px;
    text-align: left
}

.result-body h2,.result-line {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #111827
}

.result-line {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 18px
}

.info-card p,.result-small {
    font-size: 24px;
    line-height: 1.6;
    color: #374151
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-top: 35px
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px
}

.info-card h3,.share-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1d4ed8
}

.info-card p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0
}

.error-box,.share-box {
    margin-top: 35px;
    text-align: left
}

.share-box h3 {
    margin-bottom: 15px;
    color: #111827
}

.share-box input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
    background: #fff;
    outline: 0
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 25px;
    border: 1px solid #fecaca
}

.print-logo {
    display: none
}
	
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2rem
}

select::-ms-expand {
    display: none
}

.select-box select {
    background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);
    background-repeat: no-repeat;
    background-position: right .7rem top 50%;
    background-size: .65rem auto
}
	
@media (min-width: 769px) {
	
	.mz-tool {
		padding: 50px;
	}
	
    .entry-content .mz-tool {
        padding: 20px;
    }
}
	
@media (max-width:768px) {

    .form-text {
        font-size: 16px;
        margin-bottom: 28px
    }

    .section-title {
        font-size: 20px
    }

    .save-btn {
        padding: 5px 10px
    }

    .row {
        gap: 14px;
        margin-bottom: 22px
    }

    .select-box {
        min-width: 20px
    }

    .buttons {
        flex-direction: column
    }

    .result-header {
        padding: 16px 18px
    }

    .info-card h3,.result-header span {
        font-size: 18px
    }

    .result-body {
        padding: 22px
    }

    .result-body h2,.result-line {
        font-size: 28px
    }

    .result-small {
        font-size: 21px
    }

    .info-card {
        padding: 18px
    }
}

@media (max-width:480px) {
    .result-body h2,.result-line {
        font-size: 24px
    }

    .result-small {
        font-size: 19px
    }
}

@media print {
    body * {
        visibility: hidden
    }

    .entry-content>:not(.tool-area),.navigation,.no-print,.share-box,.sidebar,.site-footer,.site-header,.widget {
        display: none!important
    }

    .result,.result * {
        visibility: visible
    }

    .result {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: 0
    }

    .print-logo {
        display: block!important;
        margin-top: 20px;
        margin-left: 20px
    }
}