/*
 * Windows 10 Style
 * Square corners, colored title bar, flat buttons
 */

@font-face {
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI'), url('../fonts/segoe-ui.woff') format('woff');
}

.win10 .dialog {
    background-color: #ffffff;
    border: 1px solid #707070;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', sans-serif;
    min-height: 100px;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.win10 .dialog .header {
    background: #0078d4;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 0 0 0 12px;
    color: #ffffff;
}

.win10 .dialog .header .title {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
}

.win10 .dialog .header .x:before {
    content: '✕';
}

.win10 .dialog .header .x {
    width: 45px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background: transparent;
    color: #ffffff;
    position: static;
}

.win10 .dialog .header .x:hover {
    background-color: #e81123;
}

.win10 .dialog .body {
    background-color: #f0f0f0;
    text-align: left;
    padding: 20px;
}

.win10 .dialog .body .text {
    font-size: 14px;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.win10 .dialog .body .buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-size: 14px;
    padding-top: 10px;
}

.win10 .dialog .body .button {
    min-width: 75px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e1e1e1;
    border: 1px solid #adadad;
    font-size: 12px;
    padding: 1px 12px;
    cursor: default;
}

.win10 .dialog .body .button:hover {
    background: #d5d5d5;
    border-color: #0078d4;
}

.win10 .dialog .body .button-ok {
    background: #e1e1e1;
    border: 1px solid #0078d4;
    box-shadow: none;
}

.win10 .dialog .body .button-ok:hover {
    background: #d5d5d5;
}
