body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    margin: 0;
    background-color: #1a1a1a;
}

.connect {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ff007a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.connect:hover {
    background-color: #e6006e;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #2d2d2d;
    border-radius: 20px;
    width: 1004px;
    height: 800px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background-color: #3a3a3a;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-bottom: 10px;
}

.modal-title-bar {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.modal-title-bar .dots {
    display: flex;
    gap: 5px;
    position: absolute;
    left: 15px;
}

.modal-title-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff605c; }
.dot.yellow { background-color: #ffbd44; }
.dot.green { background-color: #00ca4e; }

.modal-title-bar .title {
    color: #d1d1d1;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.modal-address-bar {
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-address-bar .address-bar {
    background-color: #4a4a4a;
    border-radius: 15px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 900px;
}

.modal-address-bar .address-bar .lock-icon {
    font-size: 14px;
    color: #d1d1d1;
}

.modal-address-bar .address-bar .url {
    color: #d1d1d1;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: center;
}

.modal-body {
    background-color: white;
    flex: 1;
    overflow-y: auto;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    right: 15px;
}

.close svg {
    width: 100%;
    height: 100%;
    transition: stroke 0.2s;
}

.close:hover svg {
    stroke: #e05550;
}