.link-input {
    border: 2px solid #283e8b;
    background-color: transparent;
    color: #283e8b;
    width: 100%;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
}

.link-select {
    width: 100%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='%23283e8b' d='M4 6l4 4 4-4z'/></svg>");
    background-repeat: no-repeat;
    background-position: 95% 50%;
    appearance: none;
}

.links-box {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2), 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
}

.links-box-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.links-title {
    color: #283e8b;
    font-family: 'Oswald', sans-serif;
    margin: 0;
}

.links-hint {
    color: #6c757d;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
}

#link-forms-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.link-form {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.link-form + .link-form {
    border-top: 1px solid #d8dced;
    padding-top: 1.25rem;
}

.link-form-fields {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-form-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.link-form:not(:first-child) .link-type-field {
    display: none;
}

.remove-link-btn {
    flex-shrink: 0;
    border: 2px solid #d9534f;
    background: transparent;
    color: #d9534f;
    border-radius: 4px;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.remove-link-btn:hover {
    background: #d9534f;
    color: #fff;
}

#add-link-btn {
    margin-top: 1.25rem;
    border: 2px solid #283e8b;
    background: transparent;
    color: #283e8b;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

#add-link-btn:hover {
    background: #283e8b;
    color: #fff;
}

.link-error {
    color: #b00020;
    background-color: #ffe8eb;
    border-left: 3px solid #b00020;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    padding: 0.35rem 0.6rem;
    margin-top: 0.25rem;
    text-align: left;
    width: 100%;
}
