body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success-box {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-box {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

button {
    background: #2196f3;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 5px;
    transition: background 0.3s;
}

button:hover {
    background: #1976d2;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#result_ctn {
    margin: 0 auto;

    width: 460px;
    height: max-content; /* 240px */
    aspect-ratio: 16 / 9;

    position: relative;

    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    font-family: monospace;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
}

#result_ctn.dark {
    background: #2d3f52;
    color:white;
    border: solid 2px #417da5;
}
#result_ctn.deepsea {
    background: linear-gradient(0deg, #0f4c75 0%, #3282b8 100%);
    color: white;
    border: solid 2px #28608f;
}
#result_ctn.vc {
    border: 3px solid rgb(0, 68, 137);
    background: rgb(244, 251, 255);
}
#result_ctn.vc::after {
    content: "";
    display: block;
    height: 79px;
    width: 8px;
    background-color: #e20025;
    position: absolute;
    left: 13px;
    top: -15px;
    transform: rotate(45deg);
    box-shadow: -13px -3px 0px 0px #e20025;
}
#result_ctn.violetgrad {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: solid 2px #5e5c69;
    color:white;
}
#result_ctn.pinkgradient {
    background: linear-gradient(182deg, #ea668d 0%, #77354d 100%);
    border: solid 2px #5e5c69;
    color: white;
}
#result_ctn.bluegrey {
    background: #46719b;
    border: solid 2px #2d4c79;
    color: white;
}

#bottom_buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}

#bottom_options {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: nowrap;
}

#bottom_options select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 10px;
    cursor:pointer;
}
#bottom_options select:focus {
    outline: none;
}

#result_messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: nowrap;
    justify-content: center;
}

#result_messages p {
    margin: 3px 0;
    font-size: 1rem;
}

.aaguid-display {
    font-size: 18px;
    font-weight: bold;
    color: #2196f3;
    margin: 10px 0;
}

.provider-info {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.method-selector {
    margin: 20px 0;
}

.method-selector label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
}

.method-selector input[type="radio"] {
    margin-right: 10px;
}


#pvd_ctn {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;

    margin-bottom:1.5rem;
}

#pvd_ctn img {
    aspect-ratio: 1/1;
    height:5rem;
    object-fit: contain;
    border-radius: 10px;
    margin:0;
}

#pvd_ctn h2 {
    margin:0;
}

#pvd_ctn h3 {
    font-weight: bold;
    margin:0;
}

#guid_select_ctn {
    z-index: 999;
    position: fixed;
    background-color: #ffffff;
    top: 50dvh;
    left: 50dvw;
    translate: -50% -50%;
    border-radius: 15px;
    box-shadow: 0px 0px 7px 0px #00000036;

    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    padding: 1rem 1rem;
    gap:.5rem;
}

#guid_select_ctn.active {
    display: flex;
}

#guid_select_ctn button {
    margin:0;
    text-align: left;
}