.sendcloud-content {
    margin: auto;
    display: flex;
    width: 600px;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.sendcloud-content .sendcloud-button-text-container {
    display: flex;
    width: 600px;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.sendcloud-content.connect .sendcloud-button-text-container {
    padding: 18em 0 0;
}

.sendcloud-content img {
    display: flex;
    width: 240px;
    height: 35px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 48/7;
}

.sendcloud-content h2 {
    align-self: stretch;
    color: #112857;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
}

.sendcloud-content p {
    color: #112857;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.sendcloud-content .sendcloud-agreement-container {
    color: #3c434a;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 0 15px 12px 15px;
    margin: 0 0 20px 0;
    text-align: left;
}

.sendcloud-content .sendcloud-agreement-container p {
    text-align: left;
    font-size: 14px;
}

.sendcloud-button {
    display: flex;
    min-height: 44px;
    padding: 12px 16px;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid #112857;
    background: #112857;
    color: #FFF;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
}

.sendcloud-button.migrate {
    background: #fff;
    color: #112857;
    width: 100%;
}

/* Connect button states */
.sendcloud-button:disabled {
    background-color: #d3d3d3;
    border-color: #b0b0b0;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.7;
}

.sendcloud-button:not(:disabled):hover {
    background-color: #0b1833;
    border-color: #0b1833;
}

.sendcloud-button.migrate:not(:disabled):hover {
    background-color: #112857;
    color: #fff;
}
/* END Connect button states */

.sendcloud-content .sc-hidden,
.sc-dashboard-container-wrapper .sc-hidden {
    display: none;
}

/* Loader animation */
.sendcloud-content .sc-loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 15px;
    height: 15px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin-right: 10px;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* END Loader animation */

.sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 32px;
    background: #fff;
    box-shadow: 0 6px 30px rgba(17, 40, 87, 0.08);
    margin: 0 -20px;
}

.sc-header .logo img {
    height: 24px;
    width: auto;
    display: block;
}

.sc-header-links {
    display: flex;
    gap: 16px;
}

.sc-header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0e1726;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: box-shadow .2s ease, transform .1s ease;
}

.sc-header-link:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.sc-header-link img {
    height: 16px;
    width: auto;
}

.sc-header-text {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
}

.sc-guide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.sc-guide-title {
    color: #112857;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    max-width: 600px;
    width: 100%;
    margin-bottom: 40px;
}

.sc-guide-subtitle {
    color: #112857;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    max-width: 600px;
    width: 100%;
}

.sc-accordion,
.sc-sub-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: auto;
}

.sc-sub-accordion .sc-accordion-item {
    box-shadow: none;
}

.sc-accordion-item {
    position: relative;
    border: 1px solid #ccd0d4;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 30px 0 #11285714;
}

.tag {
    color: #112857;
    font-family: "Source Sans Pro", sans-serif;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 1;
}

.tag-recommended {
    background-color: #E8F5FF;
}

.tag-optional {
    background-color: #F5F6FA;
}

.tag-necessary {
    background-color: #FFECD5;
}

.sc-accordion-header,
.sc-sub-accordion-header {
    padding: 15px 20px 15px 32px;
    cursor: pointer;
    position: relative;
    background: #fff;
}

.sc-accordion-header {
    margin-top: 40px;
    margin-bottom: 5px;
}

.sc-accordion-header h2,
.sc-sub-accordion-header h2,
.sc-migration-completed h2 {
    font-family: "Source Sans Pro", sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 5px;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 125%;
    color: #112857;
}

.sc-accordion-header p, .sc-sub-accordion-header p {
    font-family: "Source Sans Pro", sans-serif;
    margin: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 115%;
    color: #4D5E81;
}

.sc-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d5d5d5;
    flex-shrink: 0;
}

.sc-check-icon.migration {
    background: #E7E7E7;
}

.sc-check-icon img {
    width: 12px;
    height: 12px;
}

.sc-check-icon.active {
    background: #1D97FF;
}

.sc-accordion-content,
.sc-sub-accordion-content {
    display: none;
    padding: 15px 20px;
    border-top: 1px solid #e2e4e7;
    color: #112857;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.sc-accordion-content .migrate {
    padding-left: 20px;
}

.sc-step-image {
    display: flex;
    justify-content: center;
    margin: 16px 0;
    max-width: 480px;
    padding-right: 10px;
}

.sc-accordion-content ul {
    list-style-type: disc;
    margin-left: 2em;
}

.sc-accordion-content ol {
    margin-left: 2em;
}

.sc-note-highlighted {
    border-radius: 12px;
    padding: 8px;
    background-color: #E8F5FF;
    margin: 16px 0;
}

.sc-content-title {
    border-radius: 12px;
    padding: 8px 16px;
    background-color: #F5F6FA;
    font-size: 14px;
    color: #112857;
    margin: 0 0 16px 0;
}

.sc-sub-accordion-content-item {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 16px;
}

.sc-accordion-list {
    list-style: none;
}

.sc-accordion-list-step {
    counter-increment: item;
    position: relative;
    padding-left: 30px;
}

.sc-accordion-list-step::before {
    content: counter(item);
    position: absolute;
    left: 0;
    width: 24px;
    background-color: #E8F5FF;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    color: #112857;
}

.sc-nav-arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid #112857;
    border-bottom: 2px solid #112857;
    transition: transform 0.3s ease;
}

.sc-accordion-header.open .sc-nav-arrow {
    transform: translateY(-50%) rotate(45deg);
}

.sc-sub-accordion-header.open .sc-nav-arrow {
    transform: translateY(-50%) rotate(45deg);
}

.sc-migration-completed {
    opacity: 1;
    border: 1px solid #ccd0d4;
    border-radius: 12px;
    gap: 12px;
    padding: 16px;
}

.sendcloud-button.sc-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sc-error-message {
    color: #b00020; /* red tone */
    background-color: #ffe6e6;
    border: 1px solid #b00020;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
}

.sc-accordion-item p {
    padding-right: 10px;
}

.sc-screenshot-thumb {
    max-width: 100%;
    cursor: zoom-in;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sc-screenshot-thumb.active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 9999;
    max-width: 80%;
    max-height: 70%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: zoom-out;
    background: #fff;
}

.sc-mb-32 {
    margin-bottom: 32px;
}

.sc-mt-16 {
    margin-top: 16px;
}

.sendcloud-button-disabled {
    background: #fff;
    pointer-events: none;
    color: grey;
    border: 1px solid #0C1C3C;
}