/* NASCAR Brand Portal - Form styles */
@media (max-width:520px){
    /* Mobile form adjustments (match Figma mobile form layout) */
    .panel-form {
        width: 100%;
        padding: 20px 18px;
        box-sizing: border-box;
    }

    .back-link{margin-bottom:18px}
    .form-header{margin-bottom:18px}
    .form-header .logo img{height:20px;width:auto}
    .form-header h1{font-size:22px;margin:0 0 8px}
    .form-header p{font-size:14px}

    .request-form{gap:12px;max-width:100%}
    .form-field{gap:10px}
    .form-field label{font-size:15px}
    .form-field input{height:40px}
    .form-field textarea{height:80px}

    .submit-button{height:44px;margin-top:12px}
    .help{margin-top:12px}
}
/* NASCAR Brand Portal - Form styles */
.panel-form {
    width: 486px;
    padding: 40px 40px;
}

/* Back link */
.back-link {
    display: flex;
    align-items: center;
    gap: 13px;
    color: black;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 25px;
    align-self: flex-start;
}
.back-arrow {
    width: 24px;
    height: 24px;
    transform: rotate(180deg);
}

/* Form header */
.form-header {
    text-align: center;
    margin-bottom: 27px;
}
.form-header .logo {
    margin-bottom: 15px;
}
.form-header .logo img {
    height: 25.61px;
    width: 150px;
}
.form-header h1 {
    font-size: 28px;
    margin: 0 0 15px;
}
.form-header p {
    font-size: 16px;
    color: var(--muted);
    max-width: 406px;
    margin: 0 auto;
}

/* Form fields */
.request-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 406px;
    margin: 0 auto;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.form-field label {
    font-size: 16px;
    color: black;
}
.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 2px;
    padding: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 180ms ease;
}
.form-field input {
    height: 42px;
}
.form-field textarea {
    height: 100px;
    resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--nascar-blue);
}
.form-field input.error,
.form-field textarea.error {
    border-color: #dc2626;
}

.error-message {
    display: none;
    color: #dc2626;
    font-size: 14px;
    margin-top: 4px;
}

.form-field.has-error .error-message {
    display: block;
}

/* Submit button */
/* Employee callout section */
.employee-callout {
    background: #F5F5F5;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.employee-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    flex: 1;
    min-width: 0;
}

/* Setup Access button (inline) */
.setup-access-button {
    background: var(--nascar-blue);
    color: white;
    border: 0;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 180ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.setup-access-button:hover,
.setup-access-button:focus {
    background: var(--nascar-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Submit button */
.submit-button {
    background: var(--nascar-blue);
    color: white;
    border: 0;
    border-radius: 4px;
    height: 50px;
    width: 100%;
    padding: 0 48px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
    margin-top: 24px;
}

.submit-button:hover,
.submit-button:focus {
    background: var(--nascar-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Help section */
.help {
    margin-top: 15px;
}