/* Gumroad Brutalist-Lite Design System */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Classes used in HTML */
.gum-border { 
    border: 1px solid #000000; 
}

.gum-card { 
    background: #FFFFFF; 
    border: 1px solid #000000; 
    border-radius: 0px; 
}

.gum-input { 
    background: #FFFFFF; 
    border: 1px solid #000000; 
    border-radius: 0px; 
    padding: 0.5rem 0.75rem; 
    width: 100%; 
    outline: none; 
    font-size: 14px;
    transition: all 0.1s ease;
}

.gum-input:focus { 
    box-shadow: 4px 4px 0px #000000 !important;
    transform: translate(-2px, -2px) !important;
    outline: none !important;
}

select.gum-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem top 50%;
    background-size: 0.65rem auto;
    padding-right: 2rem;
    background-color: #FFFFFF;
}

select.gum-input:focus {
    box-shadow: 0 0 0 2px #FF90E8;
    outline: none;
}

select.gum-input option {
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px;
}

select.gum-input option:checked,
select.gum-input option:hover,
select.gum-input option:focus {
    background-color: #FF90E8 !important;
    background: #FF90E8 !important;
    color: #000000 !important;
}

.gum-btn-pink { 
    background: #FF90E8; 
    border: 1px solid #000000; 
    border-radius: 0px; 
    padding: 0.5rem 1.25rem; 
    font-size: 14px;
    font-weight: 600; 
    color: #000000; 
    transition: all 0.1s ease; 
}
.gum-btn-pink:hover { 
    background: #ff7be1; 
    box-shadow: 4px 4px 0px #000000;
    transform: translate(-2px, -2px);
}

.gum-btn-white { 
    background: #FFFFFF; 
    border: 1px solid #000000; 
    border-radius: 0px; 
    padding: 0.5rem 1.25rem; 
    font-size: 14px;
    font-weight: 600; 
    color: #000000; 
    transition: all 0.1s ease; 
}
.gum-btn-white:hover { 
    background: #F4F4F0; 
    box-shadow: 4px 4px 0px #000000;
    transform: translate(-2px, -2px);
}

.gum-btn-black {
    background: #000000;
    border: 1px solid #000000;
    border-radius: 0px;
    padding: 0.5rem 1.25rem;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    transition: all 0.1s ease;
}
.gum-btn-black:hover {
    background: #222222;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5); /* Lighter shadow for black button to be visible */
    transform: translate(-2px, -2px);
}

/* Table Styling */
.gum-table th { 
    border-bottom: 1px solid #000000; 
    font-weight: 600; 
    padding: 12px 16px; 
}
.gum-table td { 
    border-bottom: 1px solid #E5E5E5; 
    padding: 12px 16px; 
}
.gum-table tr:last-child td {
    border-bottom: none;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent; 
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #E5E5E5; 
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #CCCCCC; 
}

/* Input Autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Toast Animations */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.toast-enter {
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-exit {
    animation: fadeOut 0.2s ease-out forwards;
}
