@import 'animations.css';

:root {
    --primary-color: #00ff88;
    --primary-color: #fff900;
    --primary-color: #0f4cd9;
    --primary-color: #037afb;
    --primary-color: #39b5a9;
    --primary-color: #39b576;
    --primary-color: #00b07f;

    --secondary-color: #038460;
    /*#c7c200;*/
    --text-color: #e9e9e9;
    /*--primary-background: #0f1216;*/
    --primary-background: #0808099c;
    --bg-color: #090b0f;
    --border-color: #ffffff0d;
    --border-color-hover: #2d2d2d;
    --box-shadow: 0px 6px 14px 0px #0000004d, 0px 1px 2px -1px #0000004d;
    /*--text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
    /*--text-shadow: 0px 1px 3px #000000;*/
    --text-shadow: 0px 1px 13px #000000;
    /*#2222226b;*/

    --success: #00bc7d;
    --foreground: #09090b;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --background: #ffffff;
    --card: #ffffff;
    --card-foreground: #09090b;
    --popover: #ffffff;
    --popover-foreground: #09090b;
    --border: #e4e4e7;
    --input: #e4e4e7;
    --primary: #18181b;
    --primary-foreground: #fafafa;
    --secondary: #f4f4f5;
    --secondary-foreground: #18181b;
    --accent: #f4f4f5;
    --accent-foreground: #18181b;
    --destructive: #f5001f63;
    --destructive-hover: #f5001f63;
    --destructive-foreground: #fafafa;
    --ring: #18181b;
    --radius: 0.5rem;
    /*--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
    --font-sans: "Geist", Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-sans);
    /*text-shadow: var(--text-shadow);*/
}

*:focus {
    outline: none !important;
}

/* Custom Scrollbar Styling */
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

*::-webkit-scrollbar-track {
    background: #ff000000;
}

*::-webkit-scrollbar-thumb {
    background: #202021;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #454545;
}

*::-webkit-scrollbar-button {
    display: none;
}

*::-webkit-scrollbar-button:start:decrement,
*::-webkit-scrollbar-button:end:increment {
    display: none;
}

*::-webkit-scrollbar {
    width: 0;
}

body {

    background-color: #090909;
    background-color: #090b0f;
    background-color: #000;
    /*background-color: #fff;*/
    color: #fff;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-drag: none;
    line-height: 1.6;
    background-image: url('/assets/img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000a3;
    backdrop-filter: blur(4px);
    z-index: -1;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

.selectable {
    user-select: text;
    /* Enable selection on this element */
}

.no-select {
    /*user-select: none;*/
    /*-webkit-user-drag: none;*/
}

.no-select img {
    /*pointer-events: none;*/
    /*-webkit-user-drag: none;*/
}

button {
    color: var(--text-color);
    border: none;
    background: none;
}

input {
    outline: none;
    padding: 12px 40px 12px 33px;
    background: #0000007a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.hide {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

a {
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
}

.center {
    margin: 0 auto;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
}

img.float {
    animation: float 3s ease-in-out infinite;
}

.box-shadow {
    box-shadow: var(--box-shadow);
}

.text-muted {
    color: #666;
    font-size: 12px;
}

.text-shadow {
    text-shadow: var(--text-shadow);
}

#app-wrapper {
    width: 100%;
}

.dashboard {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background: #111;
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.logo svg rect {
    fill: var(--primary-color);
}

.logo svg text {
    fill: var(--text-color);
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.mobile .logo-text {
    display: none;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #666;
    padding: 0 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #1a1a1a;
    color: #fff;
}

.nav-item.active {
    background: #1a1a1a;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    flex: 1;
    background: #0a0a0a;
    overflow-y: auto;
    height: 100vh;
}

header {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.mobile header {
    padding: 10px;
}

.header-title {
    font-size: 24px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.user-nav {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    justify-content: center;
    border: 1px solid rgba(255, 0, 0, 0);
    transition: all 0.3s;
    margin-left: auto;
}

.user-nav:hover img {
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}

.user-nav span {
    margin-left: 8px;
    font-weight: 600;
}

.user-nav img {
    height: 42px;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.btn-success {
    background: var(--primary-color);
}

.btn-success:hover {
    background: var(--secondary-color);
}

.btn-secondary {
    background: #33333369;
    border: 1px solid #444;
}

.btn-secondary:hover {
    background: #444;
}

.btn-danger {
    background: #fb344d26;
    color: #fff;
    border: 1px solid #6b101c;
}

.btn-danger:hover {
    background: var(--destructive-hover);
}

.btn-destructive {
    background-color: var(--destructive);
    color: var(--destructive-foreground);
}

.btn-destructive:hover {
    background-color: var(--destructive-hover);
}

@media (max-width: 768px) {
    header {
        padding: 22px 30px;
        margin-bottom: 40px;
    }

    #app-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

#app-content {
    padding: 50px 60px 0 60px;
    margin: 0 auto;
    overflow-x: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: flex-start;
}

.mobile #app-content {
    padding: 15px 0 0 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--primary-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    width: 100%;
}

.card a {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ccc;
    text-decoration: none;
}

.card a:hover {
    color: var(--primary-color);
}

.card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.card-desc {
    font-size: 12px;
    color: #ccc;
    margin-top: 8px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: #0a0a0a;
    color: #888;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr:hover {
    background: #1a1a1a;
}

.label {
    padding: 4px 10px;
    border-radius: calc(infinity * 1px);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.label.info {
    background: #3b82f626;
    color: #60a5fa;
    border: 1px solid #3b82f64d;
}

.label.active {
    background: #00bc7d0d;
    color: #00bc7d;
    border: 1px solid #00bc7d33;
}

.label.inactive {
    background: #ff444420;
    color: #ff4444;
    border: 1px solid #ff444420;
}

.label.pending {
    background: #ffaa0020;
    color: #ffaa00;
    border: 1px solid #ffaa0020;
}

.form-group {
    margin-bottom: 15px;
}

.form-group-separator {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    padding-top: 15px;
}

.form-group-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #ccc;
}

.form-input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-select {
    width: 100%;
    padding: 12px;
    background: var(--primary-background);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 20px;
    margin-bottom: auto;
}

.mobile .grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 0;
}

.mobile .server-infos {
    grid-template-columns: repeat(auto-fit, minmax(47%, 1fr));
    column-gap: 10px;
}

.mobile .online-section {
    padding-bottom: 10px;
}

.mobile .server-infos .domain-status-card {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    #app-content {
        padding: 40px 0 25px 0;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 10px;
    }
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.search-bar {
    background: var(--primary-background);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    width: 300px;
}

.search-bar input {
    background: none;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
}

.search-bar input::placeholder {
    color: #666;
}

.actions-cell {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.action-btn.edit {
    background: var(--primary-color)20;
    color: var(--primary-color);
}

.action-btn.delete {
    background: #ff444420;
    color: #ff4444;
}

.action-btn:hover {
    opacity: 0.8;
}

.domain-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.domain-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.domain-indicator.active {
    background: var(--primary-color);
}

.domain-indicator.inactive {
    background: #ff4444;
}

.domain-indicator.pending {
    background: #ffaa00;
}

.controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    /*margin-bottom: 50px;*/
}

.search-box {
    flex: 1;
    max-width: 340px;
    position: relative;
    margin-left: 60px;
    margin-right: 60px;
    transition: all 0.3s;
}

.search-box svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #a3a3a3;
    width: 16px;
    height: 16px;
}

.search-box input {
    width: 100%;
    color: #ebebeb;
    background: var(--primary-background);
    font-size: 14px;
    transition: all 0.3s;
}

.search-box:has(input:focus) {
    max-width: 500px;
}

@media (max-width: 768px) {
    .search-box {
        max-width: 20px;
    }
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-box .clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.search-box .clear-search:hover svg {
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.view-toggle {
    display: flex;
    gap: 8px;
    padding: 4px;
    border-radius: 8px;
    background: var(--primary-background);
    border: 1px solid var(--border-color);
    margin-left: auto;
}

.view-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 14px;
}

.view-btn.active {
    background: var(--primary-color);
    color: var(--text-color);
    /*#0a0a0a;*/
    font-weight: 600;
}

.view-btn:hover:not(.active) {
    background: #252525;
    color: #ebebeb;
}

.domain-card {
    display: flex;
    align-items: center;
    flex-direction: row;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-background);
    border: 1px solid var(--border-color);
    margin-bottom: 0;
}

.domain-card:hover {
    border-color: var(--border-color-hover);
}

.domain-card img,
.server-icon img {
    width: 55px;
    border-radius: 10px;
    object-fit: cover;
}

.domain-card svg,
.server-icon svg {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
}

.domain-card svg rect,
.server-icon svg rect {
    fill: var(--primary-color);
}

.domain-card svg text,
.server-icon svg text {
    fill: var(--text-color);
}

.mobile .server-icon svg,
.mobile .domain-card svg,
.mobile .domain-card img,
.mobile .server-icon img {
    display: none;
}

.domain-content {
    flex: 1;
    margin-left: 20px;
}

.mobile .domain-content {
    margin-left: 0;
}

.domain-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: var(--text-shadow);
    color: var(--primary-color);
}

.mobile .domain-name {
    font-size: 14px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.domain-ip {
    font-size: 14px;
    color: #aaa;
}

.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(605px, 1fr));
    row-gap: 25px;
    column-gap: 20px;
    margin-bottom: auto;
    overflow-x: hidden;
    overflow-y: scroll;
    /* padding-top: 20px; */
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.mobile .grid-view {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 768px) {
    .grid-view {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .grid-view::-webkit-scrollbar-thumb {
        background: #fa090900;
        border-radius: 4px;
    }
}

.table-view {
    display: none;
    background: var(--primary-background);
    border-radius: 12px;
    overflow-x: hidden;
    overflow-y: scroll;
    margin-bottom: auto;
}

.table-view.active {
    display: block;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tbody tr {
    /*border-bottom: 1px solid #2222226b;*/
    transition: all 0.2s;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

td {
    padding: 14px 20px;
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
}

.table-view .server-icon svg,
.table-view .server-icon img {
    width: 38px;
    height: 38px;
}

.table-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: #ebebeb;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    box-shadow: none;
}

.action-btn:hover {
    border-color: var(--primary-color);
}

.action-btn.delete {
    border-color: #ff444400;
    color: #ff4444;
    background: transparent;
}

.action-btn.delete:hover {
    color: #ff4444;
    border: 1px solid #ff4444;
}

.pagination {
    justify-content: right;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.mobile .pagination {
    margin-right: auto;
}

.page-btn {
    padding: 8px 14px;
    background: var(--primary-background);
    border: 1px solid var(--border-color);
    color: #ebebeb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: #fff;
}

.page-btn.active {
    background: var(--primary-color);
    color: var(--text-color);
    border-color: var(--primary-color);
    font-weight: 600;
    ;
}

.page-btn.active:hover {
    color: var(--text-color);
}

.page-btn:disabled {
    display: none;
    opacity: 0.3;
    cursor: not-allowed;
}

#nextBtn:not(:disabled),
#prevBtn:not(:disabled) {
    padding: 7px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-info {
    color: #aaa;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

strong {
    font-size: 16px;
    font-weight: 600;
}

.no-discord-member {
    background: #ff00000d;
    border: 1px solid #ff0000a3;
    color: #ebebeb;
    font-size: 13px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
    margin: 0px 20px 20px 20px;
}

.mobile .no-discord-member {
    margin: 0 0 20px 0;
}

.no-discord-member:hover {
    border-color: var(--destructive);
    cursor: pointer;
}

.new-domain-btn {
    padding: 11px 16px;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
    margin-left: 60px;
}

.new-domain-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

button svg {
    height: 18px;
    width: 18px;
}

.form-separator {
    position: relative;
    text-align: center;
    font-weight: bold;
    color: #666;
    margin: 20px 0;
    gap: 20px
}

.form-separator span,
.form-separator {
    position: relative;
    z-index: 2;
    color: #efefef;
    display: flex;
    align-content: center;
    align-items: center;
}

.form-separator.border {
    width: 100%;
    background: var(--border-color);
    height: 1px;
}

.form-help {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.form-group.has-changes {
    transition: all 0.3s ease;
}

.form-input.modified {
    border-color: #f1cb58 !important;
}

.not-connected {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.not-connected img {
    height: 100%;
    width: 180px;
    opacity: 0.3;
    display: block;
}

.not-connected span {
    color: #888;
    font-size: 15px;
    margin-bottom: 30px;
    text-align: center;
}

/** CHECKING **/
.header-actions .get-started-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #000;
}

.header-actions .get-started-btn:hover {
    background: #00cc6a;
    transform: none;
}

.domain-input-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: calc(100% - 10px);
    margin: 0 auto 30px auto;
    padding-left: 5px;
    padding-right: 5px;
}

.domain-input-form input {
    flex: 1;
    padding: 16px 20px;
    background: var(--primary-background);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.domain-input-form button {
    padding: 16px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.domain-input-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.domains-check {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    justify-content: center;
}

#global-container {
    height: calc(100vh - 230px);
    overflow-y: auto;
    margin: 0 auto;
    padding-bottom: 30px
}

.no-auth #global-container,
.mobile #global-container {
    height: calc(100vh - 240px);
}

#domains-container {
    margin: 0px 5px 0px 5px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.domain {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background: var(--primary-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /* margin-bottom: 12px; */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
    /* margin-left: 20px; */
    margin: 0px 0px 12px 0;
    box-shadow: var(--box-shadow);
}

.domain.premium {
    /*border: 1px solid #cfe800;*/
}

.domain.not-available:hover {
    border: 1px solid #b91c1c;
}

.domain:hover {
    border-color: var(--border-color-hover);
    transform: translateX(5px);
    cursor: pointer;
}

.domain-availability {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 10px;
}

.checking {
    animation: pulse 1s cubic-bezier(0, 0, .2, 1) infinite
}

.not-available .dot {
    background-color: #b91c1c
}

.available .dot {
    background-color: #00ff88;
}

.checking .dot {
    background-color: #f8fafc;
}

.not-available .status {
    color: #b91c1c
}

.checking .status {
    color: #f8fafc
}

.domain-to-check {
    /*max-width: 390px !important*/
}

#subdomain-checker {
    width: 700px;
    margin: 0px auto 0px auto;
}

.mobile #subdomain-checker {
    width: 100%;
}

@media (min-width: 768px) {
    .domain-input-form {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

#creation-card {
    width: 750px;
    margin-top: 0 !important;
}

.mobile #creation-card {
    width: 100%;
}

.mobile .popupContainer {
    padding: 0 20px 0 20px;
}