/*guestbook form stuff*/
.form-container {
    padding: 0px;
    margin: auto;
    max-width: 95%;
    width: min(450px, 95%);
    /* mobile: responsive instead of fixed width */
    border-radius: 10px;
    margin-bottom: 30px;
}

.input-top {
    font-family: 'Roboto Mono', sans-serif;
    font-size: max(16px, 1rem);
    width: 100%;
    margin: 1px;
    box-sizing: border-box;
    padding: 2px;
}
.input-bot {
    font-family: 'Roboto Mono', sans-serif;
    font-size: max(16px, 1rem);
    width: 100%;
    margin: 1px;
    box-sizing: border-box;
    padding: 3px;
}
/*pfp selection stuff*/
.pfp-selector-container { /*container for pfp selector and submit button*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 2%;
}
.submit {
    justify-content:right;
    padding: 1px;
    width: 450px;
    max-width: 100%;
}
/* simple color picker styling */
.color-picker-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Roboto Mono', sans-serif;
    font-size: 14px;
}

.color-picker-simple input[type="color"] {
    width: 40px;
    height: 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: none;
}

.pfp-selector-container input{ /*modifies only "inputs" within div called*/
    margin:0;padding:0;
    -webkit-appearance:none;
        -moz-appearance:none;
            appearance:none;
}
.pfp-selector{ /*facilitates the replacement of radio buttons with images based on function called*/
                /*example: [class="pfp-selector pfp1"] calls pfp1 image which inherets variable instructions*/
    cursor:pointer;
    background-size:contain;
    background-repeat:no-repeat;
    width: calc(16.66%); /*6 pfps per row, broken on phones for some reason*/
    aspect-ratio: 1; /*always square*/
    transition: all 100ms ease;
    opacity: 0.5;
}
.pfp-selector:hover{ 
    opacity: 1;
    
}

.pfp-selector-container input:checked + .pfp-selector {
    opacity: 1;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8),
                inset 0 0 10px rgba(255, 255, 255, 0.402); /*border+glow*/
}



/*list of pfps*/
.pfp1{background-image:url(../images/pfp/pfp1.webp);}
.pfp2{background-image:url(../images/pfp/pfp2.webp);}
.pfp3{background-image:url(../images/pfp/pfp3.webp);}
.pfp4{background-image:url(../images/pfp/pfp4.webp);}
.pfp5{background-image:url(../images/pfp/pfp5.webp);}
.pfp6{background-image:url(../images/pfp/pfp6.webp);}
.pfp7{background-image:url(../images/pfp/pfp7.webp);}
.pfp8{background-image:url(../images/pfp/pfp8.webp);}
.pfp9{background-image:url(../images/pfp/pfp9.webp);}
.pfp10{background-image:url(../images/pfp/pfp10.webp);}
.pfp11{background-image:url(../images/pfp/pfp11.webp);}
.pfp12{background-image:url(../images/pfp/pfp12.webp);}
.pfp13{background-image:url(../images/pfp/pfp13.webp);}
.pfp14{background-image:url(../images/pfp/pfp14.webp);}
.pfp15{background-image:url(../images/pfp/pfp15.webp);}
.pfp16{background-image:url(../images/pfp/pfp16.webp);}
.pfp17{background-image:url(../images/pfp/pfp17.webp);}
.pfp18{background-image:url(../images/pfp/pfp18.webp);}

/*comment section styling*/
.comments-section {
    margin-top: 30px;
}

.comment {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    margin: 15px 0;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.comment-pfp {
    background-size:contain;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.comment-name {
    font-weight: bold;
    font-size: 16px;
}

.comment-website {
    color: rgba(255, 255, 255, 0.525);
    text-decoration: none;
    margin-left: 5px;
}

.comment-date {
    font-size: 12px;
    opacity: 0.8;
}

.comment-message {
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
}
.no-comments {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    margin: 15px 0;
    border-radius: 10px;
}

/* link warning overlay system */
.link-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.link-warning-modal {
    background: #fff;
    color: #333;
    padding: 25px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.link-warning-modal h3 {
    margin-top: 0;
    color: #d63384;
    font-family: 'Roboto', sans-serif;
}

.link-warning-url {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin: 15px 0;
    word-break: break-all;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    border: 1px solid #dee2e6;
}

.link-warning-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.link-warning-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-continue {
    background: #d63384;
    color: white;
}

.btn-continue:hover {
    background: #b02a5b;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
}