/* CLARITY Order Form Styles - Green theme (#7a9b5f) */
/* DO NOT MODIFY - see CLAUDE.md */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    padding: 40px 20px;
    line-height: 1.6;
}
.page {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 40px 20px;
    border-bottom: 3px solid #7a9b5f;
}

.brand {
    text-align: left;
}

.reference {
    text-align: right;
    font-size: 12px;
    color: #666;
    max-width: 40%;
}

.logo {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 8px;
    color: #7a9b5f;
    margin-bottom: 8px;
}
.tagline {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Form content */
.content {
    padding: 40px;
}

.section-title {
    background: #7a9b5f;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 30px 0 20px 0;
}
.section-title:first-of-type {
    margin-top: 0;
}

/* Table structure for form fields */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.form-table tr {
    border-bottom: 1px solid #ddd;
}
.form-table td {
    padding: 14px 16px;
}
.form-table td:first-child {
    width: 35%;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    background: #f9f9f9;
}
.form-table td:last-child {
    background: white;
}

/* Inputs */
.input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    background: white;
}
.input:focus {
    outline: none;
    border-color: #7a9b5f;
    box-shadow: 0 0 0 2px rgba(122, 155, 95, 0.1);
}
.input-hint {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 4px;
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.field-group label {
    display: block;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    margin-bottom: 6px;
}

/* Sample type indicator */
.sample-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
}
.sample-indicator input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Confirmation boxes */
.confirmation-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-left: 4px solid #7a9b5f;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.confirmation-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}
.confirmation-box label {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    cursor: pointer;
}

/* Error messages */
.error {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Submit button */
.actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}
button {
    padding: 14px 48px;
    background: #7a9b5f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover {
    background: #6a8b4f;
}

/* Footer */
.footer {
    padding: 20px 40px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    font-size: 11px;
    color: #666;
    line-height: 1.6;
}
.footer-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Language selector */
.lang-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    font-size: 13px;
}
.lang-selector a {
    padding: 6px 12px;
    background: white;
    border: 1px solid #7a9b5f;
    border-radius: 3px;
    color: #7a9b5f;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.lang-selector a:hover {
    background: #7a9b5f;
    color: white;
}
.lang-selector a.active {
    background: #7a9b5f;
    color: white;
}

@media print {
    body { padding: 0; }
    .page { box-shadow: none; border: none; }
    button { display: none; }
    .lang-selector { display: none; }
}
