/* Google Font for handwriting signature */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.date-stamper-wrap {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.date-stamper-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    padding: 32px;
    border: 1px solid #e7e7e7;
}

/* LEFT SIDE */

.ds-title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
    color: #0d1b2a;
}

.ds-subtitle {
    margin: 0 0 24px;
    color: #55606d;
    font-size: 15px;
}

.date-stamper-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ds-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ds-field label {
    font-size: 14px;
    font-weight: 700;
}

.ds-field input {
    height: 50px;
    padding: 0 14px;
    border: 1px solid #cfd7df;
    border-radius: 10px;
    font-size: 15px;
}

.ds-field input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* GENERATE BUTTON - LIGHT GREEN */

.ds-generate-btn {
    height: 52px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.08em;
    cursor: pointer;
    background: #86efac; /* light green */
    color: #064e3b;
    margin-top: 10px;
}

.ds-generate-btn:hover {
    background: #4ade80;
}

/* RIGHT SIDE */

.date-stamper-right {
    display: flex;
    flex-direction: column;
}

.ds-preview-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ds-preview-area {
    background: #f3f4f6;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* STAMP DESIGN */

.ds-stamp-preview {
    background: #ffffff;
    padding: 28px;
    border-radius: 10px;
}

.ds-stamp-border {
    width: 460px;
    border: 4px solid #1f4fa3;
    color: #1f4fa3;
    padding: 18px;
    text-align: center;
    transform: rotate(-10deg);
}

.ds-company {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}

.ds-date {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 900;
    color: #c52828;
    text-transform: uppercase;
}

.ds-task {
    margin-top: 12px;
    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
}

/* BY SIGNATURE (HANDWRITING STYLE) */

.ds-by-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}

.ds-by-label {
    font-weight: 700;
    font-size: 14px;
}

/* HANDWRITTEN NAME */

.ds-by-signature {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    font-style: italic;
    border-bottom: 2px solid #1f4fa3;
    padding: 0 10px 4px;
    display: inline-block;
    min-width: 140px;
}

/* DOWNLOAD BUTTON */

.ds-download-btn {
    margin-top: 20px;
    background: #173f8a;
    color: #ffffff;
    height: 50px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .date-stamper-card {
        grid-template-columns: 1fr;
    }

    .ds-stamp-border {
        width: 100%;
    }
}