:root {
    --brand-dark-teal: #0c596e;
    --brand-light-teal: #1ea1bc;
    --brand-green: #59be8d;
    --border-color: #83cbb4;
    --text-color: #1a2e35;
    --input-shadow: rgba(12, 89, 110, 0.05);
    --bg-light: #fdfefe;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #f7fafc;
    background: radial-gradient(circle at center, #ffffff 0%, #edf3f6 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
}

/* Header Adjustments */
.header-section {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.brand-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 10px;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-dark-teal);
    letter-spacing: -0.5px;
}

/* Form Container Card matching the design image layout perfectly */
.form-container {
    background: #ffffff;
    width: 100%;
    max-width: 800px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 35px 40px 45px 40px;
    position: relative;
    box-shadow: 0 4px 20px rgba(12, 89, 110, 0.03);
}

/* Abstract Node Lines & Decorative Dots on the Container Border Line */
.node-line-top {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background-color: var(--brand-green);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px var(--brand-dark-teal);
}

.node-line-bottom {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background-color: var(--brand-green);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px var(--brand-dark-teal);
}

.corner-node-left {
    position: absolute;
    top: -9px;
    left: -9px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.corner-node-left .dot.large {
    width: 16px;
    height: 16px;
    background-color: var(--brand-green);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px var(--brand-dark-teal);
}

.corner-node-left .dot.small {
    position: absolute;
    left: -18px;
    width: 10px;
    height: 10px;
    background-color: var(--brand-green);
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px var(--brand-dark-teal);
}

.form-heading {
    font-size: 21px;
    font-weight: 700;
    color: var(--brand-dark-teal);
    margin-bottom: 28px;
}

/* Structural Layout Form Grids */
.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 30px;
}

label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

/* Beautiful Rounded Fields matching screenshot borders */
input, select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #b2cbd4;
    border-radius: 6px;
    font-size: 15px;
    color: var(--text-color);
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus {
    border-color: var(--brand-light-teal);
    box-shadow: 0 0 0 3px rgba(30, 161, 188, 0.1);
}

/* Standard custom select styling wrapper */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-top-color: var(--brand-dark-teal);
    pointer-events: none;
}

/* Center Bottom Floating Gradient Button Element */
.form-footer {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 10px;
}

.submit-button {
    background: linear-gradient(90deg, #075266 0%, #1ea1bc 60%, #59be8d 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 10px 60px 10px 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(12, 89, 110, 0.15);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.submit-button:active {
    transform: scale(0.98);
}

/* Embedded decorative logo circle layout icon natively built on the right side of button */
.btn-emblem {
    position: absolute;
    right: 6px;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background-image: url('logo.png');
    background-size: 75% auto;
    background-position: center;
    background-repeat: no-repeat;
}

/* Highly Optimized Mobile-Responsive Media System */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-container {
        padding: 25px 20px 35px 20px;
    }
    
    .form-heading {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .submit-button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .btn-emblem {
        display: none; /* Safely collapse icon room on narrow viewport items */
    }
}
