/* LMT parent-site shared styles */

body {
    margin: 0;
    background: #333;
    color: #d9d9d9;
    font: 16px Arial, sans-serif;
}

.wrapper {
    width: min(92%, 420px);
    margin: 48px auto;
    padding: 28px;
    border: 1px solid #555;
    border-radius: 8px;
    background: #404040;
}

.wrapper-centered {
    text-align: center;
}

.wrapper-centered > * {
    margin-right: auto;
    margin-left: auto;
}

.landing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1,
h2 {
    margin-top: 0;
}

a,
a:visited {
    color: #9ecbff;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

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

input[type="text"],
input[type="email"],
input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: 1px solid #777;
    border-radius: 4px;
    background: #2d2d2d;
    color: #d9d9d9;
    font-size: 16px;
}

button,
.button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #555;
    color: #d9d9d9;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.primary {
    border-color: #245b9e;
    background: #245b9e;
    color: #fff;
}

.help-block,
.status-error {
    color: #ff9a9a;
}

.status-success {
    color: #8fd18f;
}

.status-info {
    color: #c8c8c8;
}

.nav-links {
    margin-top: 22px;
    line-height: 1.8;
}

.muted {
    color: #b8b8b8;
    font-size: 14px;
}

.inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: #9ecbff;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* Parent profile and Discord linking */
.profile-wrapper {
    width: min(92%, 720px);
}

.page-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.profile-section {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid #5b5b5b;
    border-radius: 6px;
    background: #383838;
}

.profile-section h2 {
    margin-bottom: 18px;
}

.profile-details {
    margin: 0;
}

.profile-details > div {
    display: grid;
    grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #505050;
}

.profile-details > div:last-child {
    border-bottom: 0;
}

.profile-details dt {
    font-weight: bold;
}

.profile-details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.verification-command {
    padding: 16px;
    border: 1px solid #6a6a6a;
    border-radius: 5px;
    background: #252525;
    font-size: 20px;
    text-align: center;
    overflow-wrap: anywhere;
}

.confirmation-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 14px;
    font-weight: normal;
}

.confirmation-row input {
    margin-top: 3px;
}

.danger {
    border-color: #9a3434;
    background: #7c2d2d;
    color: #fff;
}

@media (max-width: 560px) {
    .page-heading-row {
        display: block;
    }

    .profile-details > div {
        display: block;
    }

    .profile-details dt {
        margin-bottom: 4px;
    }
}
