* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
html, body {
    width: 100%;
    height: 100%;
}

header {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
}

header .icon {
    width: 48px;
    height: 48px;
}

header h1 {
    padding-bottom: 4px;
    padding-top: 20px;
    margin: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

.main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page {
    margin: 0 auto;
    padding: 20px 20px 40px;
    max-width: 960px;
}

.page__title {
    font-weight: 800;
}

.section-title {
    margin: 20px 0;
    font-weight: 700;
}

.tools__card-link {
    max-width: 300px;
    width: 100%;
    text-decoration: none;
    color: inherit;

    transition: transform 0.2s ease-in-out;
}

.tools__card-link:hover {
    transform: translate(0, -5px);
}

.tools__content {
    display: flex;
    gap: 12px;
}

.tools__card {
    padding: 16px;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 12px;
    border: 1px solid #D1DBE8;
    border-radius: 8px;
}

.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    color: #000;
}

.tools__card-title {
    font-size: 16px;
    font-weight: 700;
}

.tools__card-description {
    font-size: 14px;
    font-weight: 400;
    color: #4F7396;
}

.package__list {
    padding: 7px;
    margin-left: 25px;
}

.guides__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guides__card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #D1DBE8;
    border-radius: 8px;
    font-size: 14px;
}

.guides__example-title {
    font-size: 16px;
    font-weight: 700;
}

.guides__card-title {
    font-size: 20px;
    font-weight: 700;
}

.guides__card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guide__example {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guides__example-url-wrapper {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-family: 'Source Code Pro', monospace;
    font-size: 16px;
    color: #0B0B55;
    background-color: #F4F5F6;
    border-radius: 2px;
    line-height: 22.4px;
    word-break: break-all;
}

.guides__example-url {
    padding: 8px 12px;
    width: 100%;
}

.guides__copy-btn {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    min-height: 40px;
    background-color: inherit;
    border: none;
    cursor: pointer;
}

.guides__card-url {
    padding: 8px 12px;
    font-family: 'Source Code Pro', monospace;
    font-size: 16px;
    color: #0B0B55;
    background-color: #F4F5F6;
    border-radius: 2px;
    line-height: 22.4px;
    word-break: break-all;
}

.guides__icon {
    width: 16px;
    height: 16px;
}

.files__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.files__file {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.files__file-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.files__file-img-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E8EDF2;
    border-radius: 8px;
}

.files__file-name {
    font-weight: 500;
}

.license {
    margin-bottom: 24px;
}

.license__content {
    display: flex;
    gap: 16px;
}

.license__card {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #D1DBE8;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
}

.license__card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.license__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.license__card-description {
    font-size: 14px;
    font-weight: 400;
    color: #4F7396;
    line-height: 1.5;
}

.license__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.license__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.license__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4F7396;
}

.license__input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Source Code Pro', monospace;
    border: 1px solid #D1DBE8;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #F4F5F6;
    color: #0B0B55;
}

.license__input:focus {
    border-color: #4F7396;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(79, 115, 150, 0.15);
}

.license__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
    font-family: inherit;
    text-align: center;
}

.license__btn:active {
    transform: scale(0.98);
}

.license__btn:disabled, .license__btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.license__btn--primary {
    background-color: #262E49;
    color: #fff;
}

.license__btn--primary:hover {
    background-color: #1a2033;
}

.license__btn--secondary {
    background-color: #E8EDF2;
    color: #262E49;
}

.license__btn--secondary:hover {
    background-color: #dbe3eb;
}

.license__btn--outline {
    background-color: transparent;
    border: 1px solid #D1DBE8;
    color: #262E49;
}

.license__btn--outline:hover {
    background-color: #F4F5F6;
    border-color: #4F7396;
}

.license__feedback {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.license__feedback--success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.license__feedback--error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

@media screen and (max-width: 600px) {
    .tools__content, .license__content {
      flex-direction: column;
    }
}