/* =====================================================
   HORSE REGISTER
===================================================== */

.portal-horse-register-page {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 110px;
}


/* HERO */

.portal-horse-register-hero {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 18px;
    padding: 16px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-horse-register-logo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-horse-register-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-horse-register-hero-info {
    flex: 1;
    min-width: 0;
}

.portal-horse-register-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--primary-color);

    font-size: 14px;
    font-weight: 600;
}

.portal-horse-register-hero-info h3 {
    margin: 0 0 4px;

    font-size: 19px;
    font-weight: 700;
}

.portal-horse-register-hero-info p {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   STEPS
===================================================== */

.portal-horse-register-steps {
    display: flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 12px 15px;

    border-radius: 13px;

    background: #f8f9fa;
}

.portal-horse-step {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #999;
}

.portal-horse-step.active {
    color: var(--primary-color);
}

.portal-horse-step-number {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9ecef;

    font-size: 14px;
    font-weight: 700;
}

.portal-horse-step.active .portal-horse-step-number {
    background: var(--primary-color);
    color: #fff;
}

.portal-horse-step strong {
    display: block;

    font-size: 14px;
    font-weight: 700;
}

.portal-horse-step small {
    display: block;

    margin-top: 1px;

    font-size: 14px;
}

.portal-horse-step-line {
    flex: 1;

    height: 1px;

    margin: 0 12px;

    background: #ddd;
}


/* =====================================================
   SEARCH CARD
===================================================== */

.portal-horse-search-card {
    padding: 20px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-horse-search-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;
    padding-bottom: 16px;

    border-bottom: 1px solid #eee;
}

.portal-horse-search-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(92, 45, 145, .08);

    color: var(--primary-color);

    font-size: 18px;
}

.portal-horse-search-heading h5 {
    margin: 0 0 3px;

    font-size: 17px;
    font-weight: 700;
}

.portal-horse-search-heading p {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.6;
}


/* INPUTS */

.portal-horse-search-card .form-group {
    margin-bottom: 18px;
}

.portal-horse-search-card label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 600;
}

.portal-horse-input {
    position: relative;
}

.portal-horse-input > i {
    position: absolute;

    top: 50%;
    right: 14px;

    z-index: 2;

    transform: translateY(-50%);

    color: #aaa;

    font-size: 14px;
}

.portal-horse-input .form-control {
    min-height: 50px;

    padding-right: 42px;

    border-radius: 10px;

    font-size: 15px;
}

.portal-horse-field-hint {
    display: block;

    margin-top: 6px;

    color: #999;

    font-size: 14px;
}

.portal-horse-check-btn {
    min-height: 50px;

    margin-top: 6px;

    border-radius: 10px;

    font-weight: 600;
}


/* =====================================================
   SIMILAR HORSES
===================================================== */

.portal-horse-results {
    margin-top: 18px;
    padding: 18px;

    border: 1px solid rgba(255, 193, 7, .35);
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-horse-results-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 16px;
}

.portal-horse-results-warning {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255, 193, 7, .13);
    color: #a47b00;

    font-size: 17px;
}

.portal-horse-results-heading h5 {
    margin: 0 0 4px;

    font-size: 16px;
    font-weight: 700;
}

.portal-horse-results-heading p {
    margin: 0;

    color: #777;

    font-size: 14px;
    line-height: 1.7;
}


/* HORSE RESULT */

.portal-similar-horses {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal-similar-horse-card {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px;

    border: 1px solid #eee;
    border-radius: 12px;

    background: #fafafa;
}

.portal-similar-horse-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #fff;

    color: var(--primary-color);

    font-size: 16px;
}

.portal-similar-horse-info {
    flex: 1;
    min-width: 0;
}

.portal-similar-horse-info > span {
    display: block;

    color: #999;

    font-size: 14px;
}

.portal-similar-horse-info h6 {
    margin: 2px 0 5px;

    font-size: 14px;
    font-weight: 700;
}

.portal-similar-horse-serial {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #777;

    font-size: 14px;
}

.portal-similar-horse-action .btn {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
}


/* =====================================================
   NOT IN LIST
===================================================== */

.portal-horse-not-found {
    margin-top: 16px;
    padding-top: 16px;

    border-top: 1px solid #eee;
}

.portal-horse-not-found-text {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-bottom: 12px;
}

.portal-horse-not-found-text > i {
    margin-top: 3px;

    color: var(--primary-color);
}

.portal-horse-not-found-text strong,
.portal-horse-not-found-text small {
    display: block;
}

.portal-horse-not-found-text strong {
    font-size: 14px;
}

.portal-horse-not-found-text small {
    margin-top: 2px;

    color: #888;

    font-size: 14px;
}

.portal-new-horse-btn {
    width: 100%;
    min-height: 46px;

    border-radius: 9px;

    font-weight: 600;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575.98px) {

    .portal-horse-register-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .portal-horse-register-hero {
        gap: 12px;
        padding: 13px;

        border-radius: 14px;
    }

    .portal-horse-register-logo {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .portal-horse-register-hero-info h3 {
        font-size: 18px;
    }

    .portal-horse-search-card,
    .portal-horse-results {
        padding: 15px 13px;

        border-radius: 14px;
    }

    .portal-horse-step small {
        display: none;
    }

    .portal-similar-horse-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .portal-similar-horse-action {
        width: 100%;
    }

    .portal-similar-horse-action .btn {
        width: 100%;
    }
}


/* =====================================================
   OWNERSHIP REQUEST
===================================================== */

.portal-ownership-request-page {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 110px;
}


/* HERO */

.portal-ownership-request-hero {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 18px;
    padding: 16px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-ownership-request-hero-icon {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(92, 45, 145, .08);
    color: var(--primary-color);

    font-size: 20px;
}

.portal-ownership-request-hero-info {
    flex: 1;
    min-width: 0;
}

.portal-ownership-request-hero-info > span {
    display: block;

    margin-bottom: 3px;

    color: var(--primary-color);

    font-size: 14px;
    font-weight: 600;
}

.portal-ownership-request-hero-info h3 {
    margin: 0 0 4px;

    font-size: 18px;
    font-weight: 700;
}

.portal-ownership-request-hero-info p {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   STEPS
===================================================== */

.portal-ownership-steps {
    display: flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 12px 15px;

    border-radius: 13px;

    background: #f8f9fa;
}

.portal-ownership-step {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #999;
}

.portal-ownership-step.active {
    color: var(--primary-color);
}

.portal-ownership-step-number {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9ecef;

    font-size: 14px;
    font-weight: 700;
}

.portal-ownership-step.active .portal-ownership-step-number {
    background: var(--primary-color);
    color: #fff;
}

.portal-ownership-step strong {
    display: block;

    font-size: 14px;
    font-weight: 700;
}

.portal-ownership-step small {
    display: block;

    margin-top: 1px;

    font-size: 14px;
}

.portal-ownership-step-line {
    flex: 1;

    height: 1px;

    margin: 0 12px;

    background: #ddd;
}


/* =====================================================
   CARD
===================================================== */

.portal-ownership-card {
    padding: 20px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-ownership-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;
    padding-bottom: 16px;

    border-bottom: 1px solid #eee;
}

.portal-ownership-card-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(92, 45, 145, .08);
    color: var(--primary-color);

    font-size: 18px;
}

.portal-ownership-card-heading h5 {
    margin: 0 0 3px;

    font-size: 17px;
    font-weight: 700;
}

.portal-ownership-card-heading p {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
   INFO
===================================================== */

.portal-ownership-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 20px;
    padding: 12px;

    border-radius: 11px;

    background: rgba(23, 162, 184, .07);
}

.portal-ownership-info > i {
    margin-top: 3px;

    color: #178399;
}

.portal-ownership-info strong,
.portal-ownership-info span {
    display: block;
}

.portal-ownership-info strong {
    margin-bottom: 2px;

    color: #166f80;

    font-size: 14px;
}

.portal-ownership-info span {
    color: #6f7c7f;

    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   UPLOAD
===================================================== */

.portal-ownership-upload {
    margin-bottom: 20px;
}

.portal-ownership-upload .upload-container {
    margin: 0;
}


/* =====================================================
   SUBMIT
===================================================== */

.portal-ownership-submit-section {
    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid #eee;
}

.portal-ownership-submit-note {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    color: #888;

    font-size: 14px;
    line-height: 1.6;
}

.portal-ownership-submit-note i {
    color: var(--primary-color);
}

.portal-ownership-submit-btn {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 10px;

    font-weight: 600;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575.98px) {

    .portal-ownership-request-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .portal-ownership-request-hero {
        gap: 11px;
        padding: 13px;

        border-radius: 14px;
    }

    .portal-ownership-request-hero-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        font-size: 18px;
    }

    .portal-ownership-request-hero-info h3 {
        font-size: 18px;
    }

    .portal-ownership-card {
        padding: 15px 13px;

        border-radius: 14px;
    }

    .portal-ownership-step small {
        display: none;
    }
}

/* =====================================================
   OWNERSHIP UPLOAD OVERRIDES
===================================================== */

.portal-ownership-upload {
    width: 100%;
    margin: 0;
}

.portal-ownership-upload .upload-container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 18px !important;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    background: #fafafa;

    box-shadow: none !important;

    text-align: center;
}

.portal-ownership-upload .upload-container h2 {
    margin: 0 0 16px !important;

    font-size: 18px !important;
    font-weight: 700;

    text-align: center;
}

.portal-ownership-upload #uploadForm {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;
}

.portal-ownership-upload #uploadfile {
    width: 100% !important;
    max-width: 100% !important;

    min-height: 48px;

    margin: 0 !important;

    border-radius: 10px;
}

.portal-ownership-upload #uploadStatus {
    width: 100%;

    margin-top: 12px;
}

.portal-ownership-upload #uploadStatus img,
.portal-ownership-upload #uploadStatus embed,
.portal-ownership-upload #uploadStatus iframe {
    max-width: 100% !important;
}

.portal-ownership-upload .alert {
    width: 100%;

    margin: 12px 0 0;

    border-radius: 10px;
}


/* =====================================================
   COMPLETE HORSE REGISTER
===================================================== */

.portal-horse-complete-page {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 110px;
}


/* HERO */

.portal-horse-complete-hero {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 18px;
    padding: 16px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-horse-complete-logo {
    flex: 0 0 72px;

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-horse-complete-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-horse-complete-hero-info {
    flex: 1;
    min-width: 0;
}

.portal-horse-complete-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--primary-color);

    font-size: 14px;
    font-weight: 600;
}

.portal-horse-complete-hero-info h3 {
    margin: 0 0 4px;

    font-size: 19px;
    font-weight: 700;
}

.portal-horse-complete-hero-info p {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   STEPS
===================================================== */

.portal-horse-complete-steps {
    display: flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 12px 15px;

    border-radius: 13px;

    background: #f8f9fa;
}

.portal-horse-complete-step {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #999;
}

.portal-horse-complete-step.active,
.portal-horse-complete-step.done {
    color: var(--primary-color);
}

.portal-horse-complete-step-number {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9ecef;

    font-size: 14px;
    font-weight: 700;
}

.portal-horse-complete-step.active .portal-horse-complete-step-number {
    background: var(--primary-color);
    color: #fff;
}

.portal-horse-complete-step.done .portal-horse-complete-step-number {
    background: rgba(40, 167, 69, .12);
    color: #28a745;
}

.portal-horse-complete-step strong {
    display: block;

    font-size: 14px;
    font-weight: 700;
}

.portal-horse-complete-step small {
    display: block;

    margin-top: 1px;

    font-size: 14px;
}

.portal-horse-complete-step-line {
    flex: 1;

    height: 1px;

    margin: 0 12px;

    background: #ddd;
}

.portal-horse-complete-step-line.active {
    background: rgba(92, 45, 145, .35);
}


/* =====================================================
   SECTIONS
===================================================== */

.portal-horse-section {
    margin-bottom: 18px;
    padding: 20px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-horse-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
    padding-bottom: 15px;

    border-bottom: 1px solid #eee;
}

.portal-horse-section-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(92, 45, 145, .08);

    color: var(--primary-color);

    font-size: 18px;
}

.portal-horse-section-heading h5 {
    margin: 0 0 3px;

    font-size: 17px;
    font-weight: 700;
}

.portal-horse-section-heading p {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.6;
}


/* LANGUAGE */

.portal-horse-language-label {
    margin-bottom: 10px;
}

.portal-horse-language-label span {
    display: inline-flex;
    align-items: center;

    min-height: 26px;

    padding: 3px 10px;

    border-radius: 20px;

    background: #f4f4f6;

    color: #777;

    font-size: 14px;
    font-weight: 600;
}


/* FORM */

.portal-horse-complete-form .form-group {
    margin-bottom: 18px;
}

.portal-horse-complete-form label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 600;
}

.portal-horse-complete-form .form-control {
    min-height: 48px;

    border-radius: 9px;

    font-size: 14px;
}

.portal-horse-complete-form .input-group-text {
    min-width: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px 0 0 9px;

    background: #f8f9fa;

    color: #888;
}


/* =====================================================
   SWITCH
===================================================== */

.portal-horse-switch-row {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 8px 12px;

    border: 1px solid #ddd;
    border-radius: 9px;

    background: #fff;
}

.portal-horse-switch-row strong,
.portal-horse-switch-row small {
    display: block;
}

.portal-horse-switch-row strong {
    font-size: 14px;
}

.portal-horse-switch-row small {
    margin-top: 2px;

    color: #999;

    font-size: 14px;
}


/* =====================================================
   DATE
===================================================== */

.portal-horse-date-label {
    margin-bottom: 10px !important;

    color: #777;

    font-size: 12px !important;
}

.portal-horse-serial-readonly {
    position: relative;
}

.portal-horse-serial-readonly > i {
    position: absolute;

    top: 50%;
    right: 13px;

    z-index: 2;

    transform: translateY(-50%);

    color: #999;
}

.portal-horse-serial-readonly .form-control {
    padding-right: 38px;

    background: #f8f9fa;
}


/* =====================================================
   ACTIONS
===================================================== */

.portal-horse-complete-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px;

    border: 1px solid #eee;
    border-radius: 14px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

.portal-horse-save-btn {
    min-width: 180px;
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 10px;

    font-weight: 600;
}

.portal-horse-back-btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 10px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575.98px) {

    .portal-horse-complete-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .portal-horse-complete-hero {
        gap: 12px;
        padding: 13px;

        border-radius: 14px;
    }

    .portal-horse-complete-logo {
        flex-basis: 58px;

        width: 58px;
        height: 58px;
    }

    .portal-horse-complete-hero-info h3 {
        font-size: 18px;
    }

    .portal-horse-section {
        padding: 15px 13px;

        border-radius: 14px;
    }

    .portal-horse-complete-step small {
        display: none;
    }

    .portal-horse-section-heading {
        margin-bottom: 16px;
    }

    .portal-horse-complete-actions {
        flex-direction: column;

        padding: 12px;
    }

    .portal-horse-save-btn,
    .portal-horse-back-btn {
        width: 100%;
    }
}


/* =====================================================
   HORSE DOCUMENT
===================================================== */

.portal-horse-document-page {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 110px;
}


/* HERO */

.portal-horse-document-hero {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 18px;
    padding: 16px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.portal-horse-document-hero-icon {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(92, 45, 145, .08);
    color: var(--primary-color);

    font-size: 20px;
}

.portal-horse-document-hero-info {
    flex: 1;
    min-width: 0;
}

.portal-horse-document-hero-info > span {
    display: block;

    margin-bottom: 3px;

    color: var(--primary-color);

    font-size: 14px;
    font-weight: 600;
}

.portal-horse-document-hero-info h3 {
    margin: 0 0 4px;

    font-size: 18px;
    font-weight: 700;
}

.portal-horse-document-hero-info p {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.7;
}


/* CARD */

.portal-horse-document-card {
    padding: 20px;

    border: 1px solid #eee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}


/* HEADING */

.portal-horse-document-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;
    padding-bottom: 16px;

    border-bottom: 1px solid #eee;
}

.portal-horse-document-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(92, 45, 145, .08);
    color: var(--primary-color);

    font-size: 18px;
}

.portal-horse-document-heading h5 {
    margin: 0 0 3px;

    font-size: 17px;
    font-weight: 700;
}

.portal-horse-document-heading p {
    margin: 0;

    color: #888;

    font-size: 14px;
}


/* CURRENT DOCUMENT */

.portal-horse-document-current {
    margin-bottom: 18px;
    padding: 12px;

    border: 1px solid rgba(40, 167, 69, .18);
    border-radius: 12px;

    background: rgba(40, 167, 69, .035);
}

.portal-horse-document-current-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.portal-horse-document-current-title > i {
    color: #28a745;
}

.portal-horse-document-current-title strong,
.portal-horse-document-current-title small {
    display: block;
}

.portal-horse-document-current-title strong {
    font-size: 14px;
}

.portal-horse-document-current-title small {
    margin-top: 2px;

    color: #888;

    font-size: 14px;
}

.portal-horse-document-existing {
    margin-top: 10px;

    text-align: center;
}


/* UPLOAD */

.portal-horse-document-upload {
    width: 100%;
}

.portal-horse-document-upload .upload-container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 16px !important;

    border: 1px solid #e5e5e5;
    border-radius: 13px;

    background: #fafafa;

    text-align: center;

    box-shadow: none !important;
}

.portal-horse-document-upload .upload-container h2 {
    margin: 0 0 14px !important;

    font-size: 16px !important;
    font-weight: 700;
}

.portal-horse-document-upload #uploadForm,
.portal-horse-document-upload #uploadfile,
.portal-horse-document-upload #uploadStatus {
    width: 100% !important;
    max-width: 100% !important;
}

.portal-horse-document-upload #uploadfile {
    min-height: 48px;

    border-radius: 10px;
}


/* SAVE */

.portal-horse-document-save {
    margin-top: 16px;
    padding-top: 16px;

    border-top: 1px solid #eee;
}

.portal-horse-document-save-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-bottom: 10px;

    color: #27843c;

    font-size: 14px;
    font-weight: 600;
}

.portal-horse-document-save-status i {
    font-size: 16px;
}

.portal-horse-document-save-btn {
    min-height: 50px;

    border-radius: 10px;

    font-weight: 600;
}


/* MOBILE */

@media (max-width: 575.98px) {

    .portal-horse-document-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .portal-horse-document-hero {
        gap: 11px;
        padding: 13px;

        border-radius: 14px;
    }

    .portal-horse-document-hero-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;
    }

    .portal-horse-document-hero-info h3 {
        font-size: 18px;
    }

    .portal-horse-document-card {
        padding: 15px 13px;

        border-radius: 14px;
    }

    .portal-horse-document-upload .upload-container {
        padding: 13px 10px !important;
    }
}



