.amz-rfs{max-width:1400px;margin:24px auto;padding:0 16px;box-sizing:border-box;font-family:Calibri,Arial,sans-serif;color:#1f2937}.amz-rfs *{box-sizing:border-box}.amz-rfs__header{margin-bottom:18px}.amz-rfs__header h2{font-size:30px;line-height:1.2;margin:0 0 8px;color:#163f32}.amz-rfs__header p{margin:0;color:#5f6b66;line-height:1.55}.amz-rfs__panel{background:#fff;border:1px solid #d7e0db;padding:24px;box-shadow:0 8px 28px rgba(20,55,43,.07)}.amz-rfs__panel+[data-rfs-payment]{margin-top:18px}.amz-rfs__dynamic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.amz-rfs__section-title{grid-column:1/-1;margin:16px 0 0;padding:10px 0 8px;border-bottom:2px solid #194f3d;font-size:17px;letter-spacing:.02em;color:#163f32}.amz-rfs__section-title:first-child{margin-top:0}.amz-rfs__field{display:flex;flex-direction:column;gap:7px}.amz-rfs__field>span{font-weight:700;font-size:14px}.amz-rfs__field input,.amz-rfs__field select,.amz-rfs__field textarea{width:100%;min-height:44px;border:1px solid #b9c7c0;border-radius:3px;padding:9px 11px;font:inherit;background:#fff;color:#1f2937}.amz-rfs__field textarea{resize:vertical}.amz-rfs__field input:focus,.amz-rfs__field select:focus,.amz-rfs__field textarea:focus{outline:3px solid rgba(25,79,61,.13);border-color:#194f3d}.amz-rfs__field input[readonly]{background:#f3f6f4;color:#33423c}.amz-rfs__field--textarea,.amz-rfs__field--amount{grid-column:1/-1}.amz-rfs__required{color:#b42318}.amz-rfs__button{margin-top:20px;border:0;border-radius:3px;background:#194f3d;color:#fff;padding:12px 19px;font:700 15px Calibri,Arial,sans-serif;cursor:pointer}.amz-rfs__button:hover{background:#123d2f}.amz-rfs__button:disabled{opacity:.52;cursor:not-allowed}.amz-rfs__button--secondary{background:#66736d}.amz-rfs__actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}.amz-rfs__notice{margin:0 0 15px;padding:12px 14px;border-left:4px solid #b42318;background:#fff1f0}.amz-rfs__notice[data-type=success]{border-color:#16803f;background:#edf9f1}.amz-rfs__notice[data-type=info]{border-color:#2f6f9f;background:#eef7fd}.amz-rfs__consent{grid-column:1/-1;display:flex;gap:9px;align-items:flex-start;margin-top:2px;padding:12px;background:#f7f9f8;border:1px solid #dce3df}.amz-rfs__consent input{width:18px;height:18px;margin-top:1px}.amz-rfs__hp{position:absolute!important;left:-9999px!important}.amz-rfs__empty{margin:0;color:#6b7280}.amz-rfs__account{grid-column:1/-1;border:1px solid #d7e0db;background:#fbfcfb}.amz-rfs__account-head{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#d7e0db}.amz-rfs__account-head>div{background:#fff;padding:13px 14px}.amz-rfs__account-head span{display:block;color:#68756f;font-size:13px}.amz-rfs__account-head strong{display:block;margin-top:5px;font-size:18px;color:#163f32}.amz-rfs__account-head .amz-rfs__account-balance{background:#edf5f1}.amz-rfs__account-table-wrap{overflow:visible}.amz-rfs__account-table{width:100%;border-collapse:collapse;min-width:0}.amz-rfs__account-table th,.amz-rfs__account-table td{padding:11px 12px;border-top:1px solid #e2e8e4;text-align:left;vertical-align:middle}.amz-rfs__account-table th{background:#f3f6f4;color:#42514b;font-size:13px}.amz-rfs__account-table td small{display:block;margin-top:3px;color:#7a8580;font-family:monospace}.amz-rfs__badge{display:inline;padding:0;border:0;border-radius:0;background:transparent;font-size:12px;font-weight:700;white-space:nowrap}.amz-rfs__badge--paye{color:#16803f}.amz-rfs__badge--impaye{color:#b42318}.amz-rfs__badge--en-attente{color:#d97706}.amz-rfs__source{margin:0;padding:10px 12px;color:#64716b;font-size:12px;border-top:1px solid #e2e8e4}.amz-rfs__amount-help{display:block;color:#5f6b66;line-height:1.45}.amz-rfs__pay-all{border:0;background:transparent;color:#194f3d;font-weight:700;text-decoration:underline;cursor:pointer;padding:0}.amz-rfs__info{grid-column:1/-1;padding:12px 14px;background:#eef7fd;border-left:4px solid #2f6f9f}.amz-rfs__field--readonly{min-width:0}
@media(max-width:760px){.amz-rfs__header h2{font-size:21px;line-height:1.15}.amz-rfs__dynamic{grid-template-columns:1fr}.amz-rfs__panel{padding:18px}.amz-rfs__field--textarea,.amz-rfs__field--amount,.amz-rfs__section-title,.amz-rfs__account,.amz-rfs__consent,.amz-rfs__actions,.amz-rfs__info{grid-column:1}.amz-rfs__account-head{grid-template-columns:repeat(2,minmax(0,1fr))}.amz-rfs__actions .amz-rfs__button{width:100%}}@media(max-width:480px){.amz-rfs__header h2{font-size:19px;line-height:1.15}.amz-rfs__account-head{grid-template-columns:1fr}.amz-rfs__panel{padding:15px}}

.amz-rfs__account-table th,.amz-rfs__account-table td{white-space:nowrap}
.amz-rfs__fee-choice{display:flex;align-items:center;gap:9px;white-space:nowrap;cursor:pointer}
.amz-rfs__fee-choice input{flex:0 0 auto;width:17px;height:17px;margin:0}
.amz-rfs__payment-choice{padding:16px 14px 18px;border-top:1px solid #e2e8e4}
.amz-rfs__payment-info{margin:0 0 16px;line-height:1.55;color:#42514b}
.amz-rfs__payment-total{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-weight:700}
.amz-rfs__payment-total input{width:150px;min-height:42px;border:1px solid #b9c7c0;border-radius:3px;padding:8px 10px;text-align:right;font:inherit;background:#fff;color:#1f2937}
.amz-rfs__button--pay{display:block;margin:16px 0 0 auto}
@media(max-width:760px){.amz-rfs{padding:0 5px}.amz-rfs__account-table th,.amz-rfs__account-table td{padding:8px 6px;font-size:12px}.amz-rfs__payment-total{justify-content:flex-start;flex-wrap:wrap}.amz-rfs__button--pay{width:100%}}

.amz-rfs__payment-contact{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:15px 18px;margin:0 0 16px}
.amz-rfs__payment-field:nth-child(1){flex:0 1 240px;max-width:240px}
.amz-rfs__payment-field:nth-child(2){flex:0 1 320px;max-width:320px}
.amz-rfs__payment-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.amz-rfs__payment-field>span{font-weight:700;font-size:14px}
.amz-rfs__payment-field input{width:100%;min-height:40px;border:0;border-bottom:1px solid #b9c7c0;border-radius:0;padding:8px 2px;font:inherit;background:transparent;color:#1f2937;box-shadow:none}
.amz-rfs__payment-field input:focus{outline:0;border-bottom-color:#194f3d;box-shadow:none}
.amz-rfs__payment-field small{color:#5f6b66;line-height:1.4;font-size:12px}

@media(max-width:760px){
  .amz-rfs__payment-contact{display:flex;flex-direction:column;align-items:flex-start;gap:15px;width:100%}
  .amz-rfs__payment-field:nth-child(1){flex:0 1 auto;width:100%;max-width:240px}
  .amz-rfs__payment-field:nth-child(2){flex:0 1 auto;width:100%;max-width:320px}
  .amz-rfs__account-table{display:block;width:100%;min-width:0}
  .amz-rfs__account-table thead{display:none}
  .amz-rfs__account-table tbody{display:block;width:100%}
  .amz-rfs__account-table tr{display:block;width:100%;margin:0 0 12px;border:1px solid #d7e0db;background:#fff}
  .amz-rfs__account-table tr:last-child{margin-bottom:0}
  .amz-rfs__account-table td{display:grid;grid-template-columns:minmax(108px,40%) minmax(0,1fr);gap:10px;width:100%;padding:10px 12px;border-top:1px solid #e2e8e4;white-space:normal;font-size:14px;overflow-wrap:anywhere}
  .amz-rfs__account-table td:first-child{border-top:0;background:#f3f6f4}
  .amz-rfs__account-table td::before{content:attr(data-label);font-weight:700;color:#42514b}
  .amz-rfs__account-table td[colspan]{display:block;text-align:center}
  .amz-rfs__account-table td[colspan]::before{content:none}
  .amz-rfs__fee-choice{align-items:flex-start;white-space:normal;min-width:0}
  .amz-rfs__fee-choice span{min-width:0;overflow-wrap:anywhere}
  .amz-rfs__badge{white-space:normal;text-align:left}
  .amz-rfs__fee-cell{display:block!important;background:#f3f6f4}
  .amz-rfs__fee-cell::before{display:none!important;content:none!important}
  .amz-rfs__fee-cell .amz-rfs__fee-choice small{display:none}
}

@media(max-width:380px){
  .amz-rfs__account-table td{grid-template-columns:1fr;gap:5px}
}


/* Champ code compact sur ordinateur : une simple ligne de saisie. */
@media(min-width:761px){
  .amz-rfs [data-rfs-identification] input[data-rfs-field="access_code"]{width:240px;max-width:100%;min-height:40px;border:0;border-bottom:1px solid #b9c7c0;border-radius:0;padding:8px 2px;background:transparent;box-shadow:none}
  .amz-rfs [data-rfs-identification] input[data-rfs-field="access_code"]:focus{outline:0;border-bottom-color:#194f3d;box-shadow:none}
}

/* Aperçu immédiat de la ventilation du montant saisi. */
.amz-rfs__allocation-preview{max-width:560px;margin:10px 0 0 auto;color:#42514b;font-size:13px;line-height:1.45}
.amz-rfs__allocation-preview>strong{display:block;margin-bottom:5px;color:#163f32}
.amz-rfs__allocation-preview ul{list-style:none;margin:0;padding:0}
.amz-rfs__allocation-preview li{display:flex;justify-content:space-between;gap:16px;padding:3px 0}
.amz-rfs__allocation-preview li span{min-width:0}
.amz-rfs__allocation-preview li b{white-space:nowrap;color:#163f32}
@media(max-width:760px){
  .amz-rfs__allocation-preview{max-width:none;margin-left:0;margin-right:0}
  .amz-rfs__allocation-preview li{align-items:flex-start}
}
