body {
    font-family: 'Muli', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

p {
    margin-bottom: 10px;
}

header {
    margin-bottom: 30px;
}

.header-top {
    background-color: #333333;
    height: 124px;
    display: flex;
    align-items: center;
}

.header-bottom {
    background-color: #fff;
}

header h1 {
    font-family: 'Anton', Arial, Helvetica, sans-serif;
    font-size: 60px;
    color: #007cc4;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

header .text-muted {
    color: #666;
    font-size: 18px;
}

.logo {
    height: 34px;
    width: 135px;
    display: block;
}

.btn-create-drop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    padding: 10px 20px;
    white-space: nowrap;
}

.btn-icon {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.drop-input {
    /*border: 1px solid #bbb !important;
    border-radius: 0 !important;
    color: #333 !important;
    */
    border-width: 2px !important;
    border-color: #888 !important;
    border-radius: 1 !important;
    border-style: dashed !important;
}

.drop-input:focus {
     /*
     border-color: #007cc4 !important;
    */
    box-shadow: none !important;
}

.drop-input.is-invalid {
    border-color: #dc3545 !important;
}

/* Remove borders from email inputs only */
#senderName, #emailRecipient {
    border: none !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    color: #333 !important;
}

#senderName:focus, #emailRecipient:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Ensure Bootstrap's invalid styling is applied */
.form-control.is-invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.footer {
    width: 100%;
    border-top: 1px solid #e0e0e0;
}

.footer li {
    margin: 5px 0;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    display: inline-block;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 0 !important;
}

.btn-primary {
    background-color: #007cc4;
    border-color: #007cc4;
}

.btn-primary:hover {
    background-color: #005a8d;
    border-color: #005a8d;
}

.btn-success {
    background-color: #007cc4;
    border-color: #007cc4;
}

.btn-success:hover {
    background-color: #005a8d;
    border-color: #005a8d;
}

textarea {
    resize: vertical;
    padding: 24px !important;
}

#dropLink {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

#makeDropBtn {
    margin-top: 20px;
    width: auto !important;
    display: inline-block;
}

#makeDropBtn:disabled,
#makeDropBtn:active {
    background-color: #e4e4e4 !important;
    color: #333 !important;
}

#sendEmailBtn:disabled,
#sendEmailBtn:active {
    background-color: #e4e4e4 !important;
    color: #333 !important;
}

#copyBtn:disabled,
#copyBtn:active {
    background-color: #e4e4e4 !important;
    color: #333 !important;
}

#decryptBtn:disabled,
#decryptBtn:active {
    background-color: #e4e4e4 !important;
    color: #333 !important;
}

#decryptBtn {
    margin-top: 20px;
    margin: 50px 0 50px 20px;
    width: auto !important;
    display: inline-block;
}
#messageText {
    background-color: #fff !important;
    color: #333 !important;
    margin: 0 0 0 0;
}

.arrow_box_info {
    background: #666;
    color: #fff;
}

.arrow_box_info p {
    font-size: 20px;
    margin: 0;
}

.arrow_box {
    position: relative;
    padding: 24px 24px 30px 24px;
    margin: 1em 0em 0 0em;
    margin-bottom: 16px;
    z-index: 10;
}


.arrow_box_info:after {
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    top: 100%;
    left: 40px;
    border: solid transparent;
    border-width: 30px;
    border-top-color: #666;
}

.arrow_box_success {
    background: #0ad1ae;
    color: #fff;
}

.arrow_box_success p {
    font-size: 20px;
    margin: 0;
}

.arrow_box_success:after {
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    top: 100%;
    left: 40px;
    border: solid transparent;
    border-width: 30px;
    border-top-color: #0ad1ae;
}

.message-box {
    background-color: #e4e4e4;
    border: 1px solid #333;
    padding: 24px;
    margin: 20px 0;
    color: #333;
}

.message-box p {
    margin-bottom: 15px;
}

.message-box .input-group {
    margin: 30px 0 40px 0;
}

.message-box strong {
    color: #333;
    font-weight: bold;
}

#emailSuccessBox {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#emailErrorBox {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.or-separator {
    text-align: left;
    margin: 60px 0 80px 0px;
}

.or-separator h1 {
    font-family: 'Anton', Arial, Helvetica, sans-serif;
    font-size: 60px;
    color: #007cc4;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Slide animations */
@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-out-up {
    animation: slideOutUp 0.25s ease-out forwards;
}

.slide-in-down {
    animation: slideInDown 0.3s ease-out forwards;
}

#successMessage {
    transform: translateY(-50px);
}

/* Decrypting animation */
@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-content {
    animation: fadeInContent 0.4s ease-out forwards;
}

#messageText {
    opacity: 1;
    transform: translateY(0);
}

/* Decrypt button animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.decrypting {
    animation: pulse 1s ease-in-out infinite;
}

/* Pickup page specific styles */
.arrow_box .btn {
    margin-top: 16px;
    transition: all 0.3s ease;
}

.arrow_box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.arrow_box .btn:active {
    transform: translateY(0);
}

/* Smooth transition for info panel content */
.message-box {
    transition: all 0.5s ease;
}

.message-box.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* Button text transition */
.btn {
    transition: all 0.3s ease;
}

/* Page entry animation for drop page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page entry animation */
.page-fade-in {
    animation: fadeInUp 0.3s ease-out;
}

/* Max width constraint */
.container {
    max-width: 1170px;
}

.btn.decrypting {
    position: relative;
    overflow: hidden;
}

.btn.decrypting::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}