/* timeline-form.css - New styles for the redesign */

.contact-container-redesign {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg-card);
    padding: 3rem 4rem;
    /* Generous padding */
    border-top: 4px solid var(--color-primary);
    /* Keep brand bar */
    box-shadow: 0 15px 40px var(--color-shadow);
    position: relative;
    border-radius: 8px;
    /* Subtle rounding */
    color: var(--color-text-main);
}

/* "helpdesk" Text */
.helpdesk-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.helpdesk-wrapper {
    text-align: left;
    /* Exception: Left Aligned */
    margin-bottom: 2rem;
    padding-left: 10px;
    /* Slight offset */
}

.form-main-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--color-text-main);
    margin-bottom: 3rem;
}

/* Timeline Layout */
.timeline-row {
    display: flex;
    gap: 20px;
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    /* Ensure full stretch */
    box-sizing: border-box;
    /* Removed max-width 500px and margin auto to stretch full width */
}

.timeline-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
}

.t-icon {
    width: 32px;
    height: 32px;
    color: #CFB53B;
    /* Gold Icon */
    margin-bottom: 5px;
    stroke-width: 1.5;
}

/* Dotted Line Logic */
.t-line {
    flex-grow: 1;
    width: 0;
    border-left: 2px dotted #e0e0e0;
    margin-top: 5px;
    min-height: 30px;
    /* Ensure visibility */
}

/* Remove line for last item */
.timeline-row:last-child .t-line {
    display: none;
}

.timeline-content-col {
    flex-grow: 1;
    padding-top: 2px;
    /* Align with icon top */
    text-align: left;
    /* Left Aligned Content */
}

.t-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 0.8rem;
    text-align: left;
}

.t-label span {
    color: #dc3545;
    /* Red asterisk */
}

/* Underline Inputs */
.input-underline {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    color: var(--color-text-main);
    transition: border-color 0.3s;
    border-radius: 0;
    /* Remove default radius */
    text-align: left;
    /* Left Align Input Text */
}

.input-underline:focus {
    outline: none;
    border-bottom: 2px solid var(--color-primary);
}

.row-split {
    display: flex;
    gap: 20px;
}

.split-item {
    flex: 1;
}

.sub-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
    margin-bottom: 0;
}

/* Message Box Style */
.input-box {
    width: 100%;
    border: 1px solid #ccc;
    /* Box border */
    padding: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s;
    border-radius: 4px;
    /* Slight rounding for box */
    min-height: 120px;
    /* Box height */
    resize: vertical;
    display: block;
    /* Ensure block alignment */
    margin-top: 10px;
    text-align: left;
    /* Left Align Textarea Text */
}

.input-box:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Button Refinement */
.submit-btn-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-submit-redesign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8em 2.5em;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px var(--color-shadow);
    transition: all 0.3s ease;
}

.btn-submit-redesign:hover {
    box-shadow:
        -1px -1px 5px rgba(255, 255, 255, 0.6),
        1px 1px 5px rgba(0, 0, 0, 0.3),
        inset -2px -2px 5px rgba(255, 255, 255, 0.15),
        inset 2px 2px 4px rgba(0, 0, 0, 0.35);
    color: #fff;
    transform: translateY(1px);
}

.btn-submit-redesign:active {
    box-shadow:
        inset -3px -3px 6px rgba(255, 255, 255, 0.1),
        inset 3px 3px 6px rgba(0, 0, 0, 0.4);
    transform: translateY(2px);
}