@charset "utf-8";

/* Games Datenbank */

/* Überschrift */
.db-headline{
	margin-top: 10px;
    margin-bottom: 1px;   
    color: #d47cff;
    font-size:24px;
    font-weight:bold;
}

/* Hauptrahmen */
.games-list{
    height:255px;
    overflow-y:auto;
    overflow-x:hidden;
    padding: 8px 15px 15px 5px;
	margin-right: -10px;
	margin-top:-13px;
    background:transparent;
}

.gesamt-db-wrapper{
    width:95%;
    max-width:1000px;
    margin:0 auto;
    border:2px solid #666;
    border-radius:15px;
    padding:15px;
    background:transparent;
}

.games-wrapper{
    border:2px solid #666666;
    border-radius:15px;
    background:transparent;
    overflow:hidden;
}

/* Datensatz */
.game-entry{
    padding:1px 0;
}

/* Trennlinie */
.game-entry:not(:last-child){
    border-bottom:1px solid rgba(255,255,255,0.45);
    margin-bottom:5px;
    padding-bottom:5px;
}

/* Titel */
.game-title{
    color:cyan;
	font-family: monospace;
    font-size:18px;
    font-weight:bold;
}

/* Zeile 2 */
.game-details{
	font-family: monospace;
    display:flex;
    align-items:center;
    color:#ffffff;
    font-size:14px;
	margin-top: -6px;
}

/* System */
.detail-system{
    width:140px;
}

/* Archiv */
.detail-archiv{
    width:80px;
}

/* USK */
.detail-usk{
    width:80px;
    text-align:left;
}

/* Datum */
.detail-datum{
    margin-left:auto;
    width:120px;
    text-align:right;
}

/* Preis */
.detail-preis{
    width:100px;
    text-align:right;
}

/* Genre */
.game-genre{
	font-size: 14px;
    color: #ffffff;
	font-family: monospace;
    }

.game-genre-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
	margin-top: -6px;
}

.game-version{
    font-size:14px;
    color: #fff;
    font-family:monospace;
    text-align:right;
    white-space:nowrap;
}

/* Info */
.game-info{
	font-size:14px;
	font-family: monospace;
    margin-top: -6px;
    color:#999999;
    }

/* Collection Liste */
.collection-list{
    margin-top:2px;
    padding-top:0;
}

/* Ein Collection-Eintrag */
.collection-entry{
    margin-bottom:2px;
    color: cyan;
    font-family:monospace;
    font-size:14px;
}

/* Titel */
.collection-title{
    font-size:16px;
}

.collection-number{
    display:inline-block;
    width:35px;
	color:cyan;
	font-family: monospace;
}

.collection-name{
	color:cyan;
	font-family: monospace;
    display:inline-block;
	}

/* Zeile Genre | Version */
.collection-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-left:35px;
}

/* Genre links */
.collection-genre{
    color: white;
    font-size:14px;
	margin-top: -6px;
	font-family: monospace;
}

/* Version rechts */
.collection-version{
    color: white;
    text-align:right;
    white-space:nowrap;
	margin-top: -6px;
	font-family: monospace;
}

/* Info */
.collection-info{
    margin-left:35px;
    color: white;
    font-size:14px;
	margin-top: -6px;
	font-family: monospace;
}

/* Scrollbar */
.games-list::-webkit-scrollbar{
    width:16px;
}

.games-list::-webkit-scrollbar-track{
    background:transparent;
}

.games-list::-webkit-scrollbar-thumb{
    background: cyan;
    border-radius:20px;

    transition:0.3s;
}

.games-list::-webkit-scrollbar-thumb:hover{
    background: white;
}



/* SUCHEN */

.search-section-title{
    color:#A26A10;
    font-family:monospace;
    font-size:18px;
    font-weight:bold;
    letter-spacing:2px;
    text-transform:uppercase;

    border-left:4px solid #A26A10;
    padding-left:10px;
    margin:5px 0 10px 0;
}

.search-area{
    margin-top:10px;
    margin-bottom:-5px;
	padding: 1px 5px;
    display:flex;
    gap:10px;
    align-items:center;
}

.search-form{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:nowrap;
}

.search-input::placeholder{
    color: rgba(0,255,255,0.5);
    transition: 0.2s;
	}

.search-input:focus::placeholder{
    color: rgba(0,255,255,0.8);
}

.game-count{
    margin-left:auto;
    text-align:right;
    color: yellow;
    font-family:monospace;
    font-size:14px;
    white-space:nowrap;
	padding-right:15px;
}

.search-input{
    width:170px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,0,0.15) 50%,
            transparent 100%
        );

    background-size:200% 100%;
    animation:searchGlow 4s linear infinite;
    border:none;
    border-top:2px solid yellow;
    border-bottom:2px solid yellow;
    border-radius:0;
    padding:4px 0;
    color:rgba(0,255,255,0.8);
    font-family:monospace;
    font-size:14px;
    box-sizing:border-box;
}

@keyframes searchGlow{
    from{
        background-position:-100% 0;
    }
    to{
        background-position:100% 0;
    }

}

.search-input:focus{
    outline:none;
    border-color:cyan;
}

.search-input,
.search-btn,
.reset-btn{
    height:32px;
    box-sizing:border-box;
}

.search-btn,
.reset-btn{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width: 70px;
    height:32px;
    padding:8px 10px;
    background:transparent;
    border:none;
    border-top:2px solid yellow;
    border-bottom:2px solid yellow;
	border-left:2px solid yellow;
	border-right:2px solid yellow;
    border-radius:0;
    color: cyan !important;
    font-family:monospace;
    font-size:14px;
    text-decoration:none;
    cursor:pointer;
    transition:0.2s;
    box-sizing:border-box;
}


/* Eingabe Admin */
.admin-input{
    width:90px;
    background:transparent;
    border:none;
    border-top:4px solid rgba(150,150,150,0.35);
    border-bottom:4px solid rgba(150,150,150,0.35);
    color:rgba(180,180,180,0.6);
    padding:2px 0;
    font-family:monospace;
    font-size:14px;
	text-align:center;
}

.admin-input::placeholder{
    color:rgba(180,180,180,0.45);
	text-align:center;
}

.admin-input,
.admin-input:focus{
    outline:none !important;
    box-shadow:none !important;
}

.game-modal{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.85);

    justify-content:center;
    align-items:center;

    z-index:99999;
}

.game-modal-content{

    width:900px;
    max-width:95%;

    max-height:95vh;
    overflow-y:auto;

    background:#111;

    border:1px solid #00ffff;

    padding:20px;

    border-radius:6px;

    font-family:monospace;
}

.game-form-group{

    display:grid;

    grid-template-columns:120px 1fr;

    gap:10px;

    align-items:center;

    margin-bottom:10px;
}

.game-form-group-full{

    margin-top:10px;
}

.game-form-group-full label{

    display:block;

    margin-bottom:5px;
}

.game-input,
.game-textarea{

    width:100%;

    background:#000;

    color:#fff;

    border:1px solid #00ffff;

    padding:6px;

    font-family:monospace;
}

.game-textarea{
    resize:vertical;
}

.game-button-row{

    display:flex;

    gap:10px;

    justify-content:flex-end;

    margin-top:15px;
}

.game-form-group label{

    display:block;

    color:#00ffff;

    font-family:monospace;

    margin-bottom:5px;
}

.game-input{

    width:100%;

    background:#000;

    border:1px solid #00ffff;

    color:#ffffff;

    padding:3px 5px;
    font-size:12px;

    font-family:monospace;
}

.game-modal-content input,
.game-modal-content select,
.game-modal-content textarea,
.game-modal-content button,
.game-modal-content label,
.game-modal-content h3{

    font-family:monospace;
}


/* Collection Eingabe */

.collection-row-header,
.collection-row{

    display:grid;

    grid-template-columns:
        4fr
        2fr
        1fr
        2fr;

    gap:4px;

    align-items:center;

    margin-bottom:2px;
}

.collection-row-header{

    color:#00ffff;

    font-family:monospace;

    font-weight:bold;

    margin-bottom:12px;
}

.collection-info{
    color:#00ffff;
    font-family:monospace;
    margin-bottom:10px;
    font-weight:bold;
}

.collection-admin{

    margin-top:8px;

    margin-bottom:10px;

}
