* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
}

body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    justify-content: center;
    display: flex;
}

header img {
    width: 75px;
}

#title {
    text-align: center;

}

#subtitle {
    text-align: center;
    padding-bottom: 5px;
}

#toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #1e1e1e;
}

#toolbar input {
    margin-top: 10px;
}

#toolbar button {
    margin-top: 10px;
}

#urlInput {
    flex: 1;
    padding: 8px 12px;
    font-size: 15px;
    border-radius: 20px;
    border: none;
    outline: none;
}

button {
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 20px;
    border: none;
    background: #0070f3;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #005bb5;
}

#error {
    color: #ff4444;
    background: #1e1e1e;
    padding: 0 10px 8px 10px;
    font-size: 14px;
}

#frameWrapper {
    flex: 1;
    position: relative;
}

#siteFrame {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

#placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #aaa;
    font-size: 18px;
}

#loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #aaa;
}