body {
    font-family: 'Lato', verdana, arial, tahoma, sans-serif;
    font-size:13pt;
    margin:0;
}

h1 {
    font-weight: normal;
    font-size: 22pt;
    color: #C42626;
    font-family: 'Roboto', verdana, arial, tahoma, sans-serif;
    margin-bottom: 40px;
}

h2 {
    font-weight: normal;
    font-size:20pt;
    color:#C42626;
    font-family: 'Roboto', verdana, arial, tahoma, sans-serif;
}

.navbar {
    display:flex;
    justify-content:space-between;
    width: 100%;
}

.navbar {
    min-height: 75px;
    align-items:center;
}

header {
    min-height: 75px;
    background-color:#efefef;
}

header h1 {
    padding:0;
    margin:0;
}

header h1 a, header h1 a:hover {
    color: #C42626;
}

#navbar-logo {
    justify-content: flex-start;
}

#navbar-logo a {
    text-decoration:none;
}

#navbar-items {
    flex-grow: 1;
    justify-content: flex-end;

    display:flex;
}

#navbar-items a {
    padding: 0 10px;
}

#navbar-items a:hover {

}

header h1 a:hover {
    text-decoration:none;
}

footer {
    color: #666;
    font-size: 10pt;
}

.center {
    text-align: center;
}

form {
    font-size: 14pt;
}

input {
    font-size: 14pt;
}

/*
input[type=text] {
    width: 300px;
}
 */


#btnshorten, .btnblue {
    padding: 7px 10px;
    background-color: #C42626;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#btnshorten:hover, .btnblue:hover {
    background-color: #d53030;
}

ul.errorlist {
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

ul.errorlist li {
    margin: 0;
    padding: 0;
}

#extensions {
    background: #FFFAD1;
    border: 1px solid #CFB919;
    padding: 5px;
    margin-top: 30px;
}


#infotext {
    margin-top: 50px;
}

#qrcode {
    text-align: center;
}

#qrcode > img {
    width: 250px;
    height: 250px;
    border: thin solid black;
    border-radius:8px;
    image-rendering: pixelated;
}

#confirmdetailsbox {
    margin: 2.5em 0;
}

#linkinfo {
    word-wrap: break-word;
}

/* Cursor styles for drag handles */
.handle {
    cursor: grab;
    padding: 8px 12px;
    display: inline-block;
    color: #666;
    background-color: #f8f8f8;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    margin-left: 8px;
}

.handle:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: scale(1.05);
}

.handle:active {
    cursor: grabbing;
    background-color: #d0d0d0;
    transform: scale(0.95);
}

.handle i {
    font-size: 16px;
    vertical-align: middle;
}

/* Make sure the link items have position relative for proper dragging */
.link-item {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-item:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sortable-ghost {
    opacity: 0.5;
    background-color: #f0f0f0;
}

@media (max-width: 414px) {
    #id_url {
        width: 100%;
    }

    #btnshorten {
        width: 100%;
    }
}

/* Exact brand color utility */
.brand-color {
    color: #C42626 !important; /* #C42626 */
}

#shorten-form {
    margin: 40px 0;
}

/* Info page copy button styling moved from inline styles */
#copybutton {
    line-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
}