:root {
    --primary-color: #0F172A;
    --secondary-color: #1E293B;
    --link: #3B82F6;
    --text-color: #F1F5F9;
    --bg: #F1F5F9;
    --border: #E2E8F0;
    --ink: #21334f;
    --ink-muted: #5B7083;
    --accent: #3B82F6;
    --accent-deep: #1654b7;
    --primary: #1B3A5C;
    --primary-hover: #15304D;
    --error: #dc3545;
}

*,
:after,
:before {
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;

}

i {
    color: var(--link);
}

h1 {
    color: var(--primary);
}

body {
    background-color: var(--bg);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

main {
    width: 100%;
    max-width: 700px;
}

aside {
    padding: 20px;
    background-color: #fff;
    margin: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    line-height: 1.5rem;

}

.error {
    color: var(--error);
    font-size: 15px;
    display: flex;
    gap: 5px;
}

code {
    color: blue;
    font-weight: bold;
}

button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent);
    color: #fff;
    cursor: pointer;
    border: none;
    margin: 0.5rem 0;
    border-radius: 0;
}

button:hover {
    background-color: var(--accent-deep);
}

header {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.5);
    margin: 5px 0;
    background-color: #fff;
}

header:has(input:focus) {
    border-color: #8dbbec;
    box-shadow: 0 2px 5px rgb(0 123 255 / .3);
}

header input {
    line-height: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    outline: none;
    border: none;
    background-color: #fff;
    padding: 0 5px;
    flex: 1;
    height: 100%;
}
#i{
    border-right:1px solid var(--border);
}
header:has(input:focus) #i{
    border-color: #8dbbec;
}

search {
    display: flex;
    flex: 1;
    align-items: center;
}

header button {
    margin: 5px;
}




.kesinti-body b,
.kesinti>b {
    color: #444;
}

.kesinti-out {
    background-color: #f5f5f5;
    border: 1px solid #dadada;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .03);
    padding: 8px 0;
    cursor: default;
    overflow: hidden;
    position: relative;
    pointer-events: none;
    user-select: none;
}


.kesinti-out * {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.kesinti-out:first-child {
    margin-top: 0
}

.kesinti-out:last-child {
    margin-bottom: 0
}

.kesinti-out b {
    font-size: smaller;
    line-height: 1.5;
}

.kesinti {
    width: 100%;
    display: table;
    height: auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.kesinti>b {
    display: table-caption;
    text-align: center;
    line-height: 2;
}

.kesinti>b::before {
    content: "İlaç Kesinti Listesi";
    color: #444;
}

.kesinti div {
    display: table-row;
}

.kesinti div b {
    display: table-cell;
}

.kesinti-header b {
    background-color: #637595;
    border: 1px solid ThreeDShadow;
    text-align: center;
    line-height: 21px;
}

.kesinti-header b:first-child::before {
    content: "İlaç Adı";
    color: #fff;
}

.kesinti-header b:last-child::before {
    content: "Açıklama";
    color: #fff;
}

.kesinti-header b:last-child {
    border-left: 1px solid #aaa;
}

.kesinti-body b:first-child {
    text-align: center;
}

.kesinti div b {
    display: table-cell;
}

.kesinti-body b {
    padding: 4px;
    height: 25px;
}

.kesinti-detay,
.k-e {
    line-height: 1.5;
    font-size: 15px;
}

.kesinti-detay {
    padding: 5px;
}

small {
    display: flex;
    font-size: 12px;
    padding: 5px 0;
    color: #789;
}

section {
    padding: 1rem 0;
}


#box {
    position: fixed;
    display: flex;
    z-index: 9999999;
    top: 0;
    left: 0;
    align-items: center;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    background-color: #f0f5faaa;
    backdrop-filter: blur(7px);
}

@keyframes BoxOpen {
    from {
        transform: scale(.2);
        opacity: .2;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.box {
    background-color: #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    padding: 20px;
    animation: BoxOpen .3s ease-in-out;
    max-width: 500px;
    max-height: 400px;
    min-width: 250px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
}

.box-content {
    max-width: 500px;
    max-height: 300px;
    overflow: auto;
}

.box.sel {
    transition: all .3s ease-in-out;
    transform: scale(0);
    opacity: 0;
}

.box-buttons {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    justify-content: flex-end;
}

.box-buttons i {
    transition: background-color .2s linear;
    background-color: var(--accent);
    color: #fff;
    padding: 4px 15px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-style: normal;
}

.box-buttons i:hover {
    background-color: var(--accent-deep);
}
h4 {
    color: #cd3f3f;
}

ul {
    line-height: 1.5rem;
    color: #567;
    font-size: 14px;
}
footer{
    border-top:1px solid var(--border);
    margin-top:1rem;
}
footer li{
    margin:0.5rem 0;
}

