

.cred-form {
    max-width: 1200px;
    margin: 0 auto 40px;
    background: #f4f6f5 none repeat scroll 0 0;
    border-radius: 15px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.3);
    padding: 40px;
}

.cred-header {

    
}

.cred-header h3 {
    color: #363f48;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.2px;
}

.cred-group {
    
    width: 100%;
}

.cred-field {
    
    width: 100%
}

.cred-label {
    display: block;
    font-weight: 700;
    color: #666666;
    margin-bottom: 7px;
    font-size: 16px;
    text-transform: none;
}

.cred-form input[type="text"],
.cred-form input[type="date"],
.cred-form input[type="email"],
.cred-form input[type="password"],
.cred-form select,
.cred-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #d4dce4;
    border-radius: 3px;
    font-size: 13px;
    color: #666;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    line-height: 1.5;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.cred-form .apron-entry-section-01 input[type="text"]{
    width: 47%;
}
.cred-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2377bf4f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.cred-form input[type="text"]:focus,
.cred-form input[type="date"]:focus,
.cred-form input[type="email"]:focus,
.cred-form select:focus,
.cred-form textarea:focus {
    border-color: #77bf4f;
    box-shadow: 0 0 0 3px rgba(119, 191, 79, 0.18);
    outline: none;
    background: #ffffff;
}

.cred-form textarea {
    min-height: 100px;
    resize: vertical;
}

.cred-form .cred-submit,
.cred-form input[type="submit"].cred-submit {
    display: inline-block;
    background: #77bf4f;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(119, 191, 79, 0.35);
    font-family: inherit;
}

.cred-form .cred-submit:hover,
.cred-form input[type="submit"].cred-submit:hover {
    background: #5da33b;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(119, 191, 79, 0.45);
}

.cred-form .cred-submit:active {
    transform: translateY(0);
}

.cred-form .cancelbutton,
.cred-form input[type="button"].cancelbutton {
    display: inline-block;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 12px;
    transition: background 0.2s ease;
    font-family: inherit;
     background-color: #77bf4f;
    color: #fff;
    padding: 9px 12px;
    border-radius: 0;
}

.cred-form .cancelbutton:hover {
    background: #dde3e8;
}

.cred-field-form-submit,
.apron-entry-section-04 {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eef1f4;
}

.apron-entry-section-01,
.apron-entry-section-02,
.apron-entry-section-03 {

    border-radius: 8px;
    
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}
.apron-entry-section-03{
    justify-content: space-between;
}
.apron-entry-section-03 .cred-field{
    width: max-content;
}
.apron-entry-section-04{
    justify-content: space-between;
}
.cred-form .apron-entry-section-04 .cancelbutton, .cred-form .apron-entry-section-04 input[type="button"].cancelbutton{
    margin-left: 0;
    margin-top: 0;
    background-color: #77bf4f;
    color: #fff;
    padding: 9px 12px;
    border-radius: 0;
}

.cred-message {
    padding: 13px 18px;
    border-radius: 7px;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.cred-message-error {
    background: #fff3f1;
    border-left: 4px solid #d63e1d;
    color: #b83317;
}

.cred-message-success {
    background: #f0fae8;
    border-left: 4px solid #77bf4f;
    color: #3a7a1e;
}

.bf-claim-form {
    text-align: center;
    padding: 40px;
}

.bf-claim-form .cred-label {
    font-size: 18px;
    font-weight: 400;
    color: #555e68;
    display: inline;
    text-transform: none;
}

.bf-claim-form strong {
    font-size: 22px;
    color: #77bf4f;
    font-weight: 700;
}

.bf-edit-apron-form~h1,
.cred-form+h1,
h1+.cred-form {
    margin-bottom: 20px;
}

@media (max-width: 680px) {
    .cred-form {
        padding: 24px 20px;
    }

    .cred-form .cred-submit,
    .cred-form .cancelbutton {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
    }
}

.bf-register-form {
    max-width: 480px;
}

.bf-register-form .cred-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.bf-register-form .cred-group .cred-header {
    grid-column: 1 / -1;
}

.bf-register-form .cred-field:nth-child(n+4) {
    grid-column: 1 / -1;
}

.bf-password-form {
    max-width: 480px;
}

.bf-user-form {
    max-width: 560px;
}

.bf-user-form .cred-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.bf-user-form .cred-group .cred-header,
.bf-user-form .cred-group .cred-field:last-child {
    grid-column: 1 / -1;
}

.bf-pw-wrap {
    position: relative;
}

.bf-pw-wrap input {
    padding-right: 44px !important;
}

.bf-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #a0aec0;
    padding: 0;
    line-height: 1;
    font-size: 16px;
}

.bf-pw-toggle:hover {
    color: #363f48;
}

.bf-strength-bar {
    height: 4px;
    border-radius: 4px;
    background: #e2e8f0;
    margin-top: 8px;
    overflow: hidden;
}

.bf-strength-bar__fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
}

.bf-strength-bar__fill[data-strength="weak"] {
    width: 33%;
    background: #d63e1d;
}

.bf-strength-bar__fill[data-strength="fair"] {
    width: 66%;
    background: #f59e0b;
}

.bf-strength-bar__fill[data-strength="strong"] {
    width: 100%;
    background: #77bf4f;
}

@media (max-width: 520px) {

    .bf-register-form .cred-group,
    .bf-user-form .cred-group {
        grid-template-columns: 1fr;
    }

    .bf-register-form .cred-field:nth-child(n+4) {
        grid-column: 1;
    }
}