Files
negin-dental-clinic/app/contact-us/contact.module.css
T
alireza-hassaniandClaude Sonnet 5 f16b47966b Initial commit: Negin Dental Clinic website
Next.js (App Router) clone of negindentalclinic.ir, wired to the
Meshkee Website API (blog, contact form, favicon), with on-page SEO
and a scroll-reveal animation sequence on the homepage.

See context.md for full project context.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 18:28:54 +03:30

191 lines
3.0 KiB
CSS

.infoGrid {
display: grid;
gap: 24px;
margin-bottom: 60px;
}
@media (min-width: 760px) {
.infoGrid {
grid-template-columns: repeat(3, 1fr);
}
}
.infoCard {
text-align: center;
padding: 34px 24px;
border: none;
border-radius: var(--radius);
background: var(--bg-tint);
transition: background-color 0.2s ease;
}
.infoCard:hover {
background-color: #e2eff9;
}
.infoCard h3 {
font-size: 18px;
margin: 4px 0 10px;
}
.infoCard p,
.infoCard a {
margin: 0;
color: var(--muted);
font-size: 15px;
text-align: center;
text-align-last: center;
}
.infoCard a:hover {
color: var(--brand);
}
.infoIcon {
width: 60px;
height: 60px;
margin: 0 auto 16px;
display: grid;
place-items: center;
border-radius: 50%;
background: #fff;
color: var(--brand);
}
/* ---------- form ---------- */
.formWrap {
/* same width as the info-card row above, and the same 60px rhythm
on top (gap from the row) and bottom (gap to what follows) */
margin: 0 0 60px;
background: var(--bg-tint);
border: none;
border-radius: var(--radius-lg);
padding: 44px;
box-shadow: none;
}
.form {
display: flex;
flex-direction: column;
gap: 20px;
}
.row {
display: grid;
gap: 20px;
}
@media (min-width: 620px) {
.row {
grid-template-columns: 1fr 1fr;
}
}
.form label {
display: flex;
flex-direction: column;
gap: 8px;
font-size: 14px;
font-weight: 500;
color: var(--heading);
}
.form input,
.form textarea {
font: inherit;
color: var(--text);
padding: 13px 16px;
border: 1px solid transparent;
border-radius: 10px;
background: #fff;
transition: border-color 0.2s ease;
}
.form input:focus,
.form textarea:focus {
outline: none;
border-color: var(--brand);
}
.form textarea {
resize: vertical;
}
.form :global(.btn) {
align-self: flex-end;
justify-content: center;
padding: 11px 28px;
font-size: 14px;
}
.formError {
margin: 0;
padding: 14px 18px;
border-radius: 10px;
background: #fdecec;
color: #b3261e;
font-size: 14px;
text-align: center;
text-align-last: center;
}
/* ---------- success / error toast ---------- */
.toast {
position: fixed;
inset-inline: 0;
bottom: 26px;
margin-inline: auto;
width: fit-content;
max-width: calc(100% - 40px);
z-index: 200;
display: flex;
align-items: center;
gap: 10px;
padding: 16px 24px;
border-radius: 999px;
background: #1f7a4d;
color: #fff;
font-size: 14px;
font-weight: 600;
box-shadow: var(--shadow-md);
animation: toast-in 0.25s ease;
}
.toastError {
background: #b3261e;
}
@keyframes toast-in {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ---------- map ---------- */
.mapSection {
line-height: 0;
}
.mapSection iframe {
width: 100%;
height: 420px;
border: 0;
filter: grayscale(0.15);
}
@media (max-width: 620px) {
.infoGrid {
margin-bottom: 32px;
}
.formWrap {
margin-bottom: 32px;
padding: 26px;
}
}